Points i1, i1 + stride, ... (data frame; their times the trajectory's) into the drawable's coordinates, if transformed.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(TrajectoryArtist), | intent(in) | :: | self | |||
| integer, | intent(in) | :: | i1 |
the first point |
||
| real(kind=wp), | intent(inout) | :: | v(:,:) |
(3, n): the points |
||
| integer, | intent(in), | optional | :: | stride |
step between points (default 1) |
subroutine to_shown_at(self, i1, v, stride) class(TrajectoryArtist), intent(in) :: self integer, intent(in) :: i1 !! the first point real(wp), intent(inout) :: v(:,:) !! (3, n): the points integer, intent(in), optional :: stride !! step between points (default 1) real(wp) :: times(size(v, 2)) integer :: k, st if (.not. transformed(self)) return st = 1 if (present(stride)) st = stride do k = 1, size(v, 2) times(k) = self%traj%time(i1 + (k - 1) * st) end do call to_shown(self, times, v) end subroutine to_shown_at