The distance along the curve at point i (1 to num_drawn), as drawn (for the dash pattern): read back from the line buffers.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(CurveArtist), | intent(in) | :: | self | |||
| integer, | intent(in) | :: | i |
the point (1 to num_drawn) |
function drawn_distance(self, i) result(s) class(CurveArtist), intent(in) :: self integer, intent(in) :: i !! the point (1 to num_drawn) real(wp) :: s s = self%chain%distance(i) end function drawn_distance