File containing the implementation of the Trajectory data type.
More...
File containing the implementation of the Trajectory data type.
- Author
- Marios Vodas (mvoda.nosp@m.s@gm.nosp@m.ail.c.nosp@m.om).
- See also
- Trajectory
-
Trajectory type
This function returns the first point of a trajectory.
- Parameters
-
[in] | trajectory | The trajectory |
- Returns
- the point
- See also
- firstPoint
This function returns the first segment of a trajectory.
- Parameters
-
[in] | trajectory | The trajectory |
- Returns
- the segment
- See also
- firstSegment
This function returns the last point of a trajectory.
- Parameters
-
[in] | trajectory | The trajectory |
- Returns
- the point
- See also
- lastPoint
This function returns the last segment of a trajectory.
- Parameters
-
[in] | trajectory | The trajectory |
- Returns
- the segment
- See also
- lastSegment
This functions returns the number of points in a trajectory.
- Parameters
-
[in] | trajectory | The trajectory |
- Returns
- the number of points
- See also
- NrPoints
This function returns the number of segments in a trajectory.
- Parameters
-
[in] | trajectory | The trajectory |
- Returns
- the number of segments
- See also
- NrSegments
This function returns the point at a specific position of the trajectory.
- Parameters
-
[in] | trajectory | The trajectory |
[in] | i | The position of the trajectory |
- Returns
- the point
- See also
- pointAt
This function returns the segment at a specific position of the trajectory.
- Parameters
-
[in] | trajectory | The trajectory |
[in] | i | The position of the trajectory |
- Returns
- the segment
- See also
- segmentAt
This function returns the sub-trajectory from a trajectory specified by the two integers.
- Parameters
-
[in] | trajectory | The trajectory |
[in] | s | The start position of the trajectory |
[in] | e | The end position of the trajectory |
- Returns
- the sub-trajectory
- See also
- sub