Add a position to the current trajectory.
Add a position as long as the new number of positions will not exceed the current number of times. Note that for 2D trajectories, the z component will be ignored.
This position corresponds to the most recent time provided by oftraj_addtime.
Warning
If multiple positions are added after the previous call to oftraj_addtime, all but the last position will be overwritten.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=real64), | intent(in) | :: | x |
X position. |
||
| real(kind=real64), | intent(in) | :: | y |
Y position. |
||
| real(kind=real64), | intent(in) | :: | z |
Z position. |