A TimePath along a Trajectory's points, interpolated linearly (before its first time: its first point; after its last: its last).
| Type | Visibility | Attributes | Name | Initial | |||
|---|---|---|---|---|---|---|---|
| type(Trajectory), | public, | pointer | :: | trajectory | => | null() |
the trajectory followed (not owned) |
The TrajectoryPath constructor: TrajectoryPath(...) makes one (see new_trajectory_path for its
arguments).
A path along traj (which must stay alive while used).
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(Trajectory), | intent(in), | target | :: | traj |
the trajectory followed |
The trajectory's position at time t (point_at: linear
between its points, its first or last point outside its times; 0 if
it has none).
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(TrajectoryPath), | intent(in) | :: | self | |||
| real(kind=wp), | intent(in) | :: | t |
the time |
type, extends(TimePath), public :: TrajectoryPath type(Trajectory), pointer :: trajectory => null() !! the trajectory followed (not owned) contains procedure :: position => trajectory_path_position end type TrajectoryPath