Number of points to draw (1 if all sources are zero: a point at the origin).
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(CurveArtist), | intent(in) | :: | self |
integer function curve_points(self) result(n) class(CurveArtist), intent(in) :: self n = source_points(self%traj, self%sources_) if (all(self%sources_%src == SOURCE_ZERO) .and. n > 0) n = min(1, self%traj%num_times()) end function curve_points