The point at time t between points k and k2 (interpolated in the data frame), in the drawable's coordinates (by the transform at time t).
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(TrajectoryArtist), | intent(in) | :: | self | |||
| integer, | intent(in) | :: | k |
the points |
||
| integer, | intent(in) | :: | k2 |
the points |
||
| real(kind=wp), | intent(in) | :: | t |
the time |
||
| type(DataSource), | intent(in) | :: | sources(3) |
where the components come from |
function art_point_between(self, k, k2, t, sources) result(v) class(TrajectoryArtist), intent(in) :: self integer, intent(in) :: k, k2 !! the points real(wp), intent(in) :: t !! the time type(DataSource), intent(in) :: sources(3) !! where the components come from real(wp) :: v(3) real(wp) :: w(3, 1) w(:, 1) = self%traj%point_between(k, k2, t, sources) if (transformed(self)) call to_shown(self, [t], w) v = w(:, 1) end function art_point_between