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
The function materialize the trajectory.
- Parameters
-
[in] | cache_id | the identifier of the trajectory |
- Returns
- the actual trajectory
The function allocates the appropriate space in memory for a trajectory.
- Parameters
-
[in] | length | The length of the trajectory |
- Returns
- an integer which is an identifier of the current allocation
The function append the PointSTs to the trajectory one by one.
- Parameters
-
[in] | cache_id | the identifier of the trajectory |
[in] | point | the point to be appended |
void trajcache_free |
( |
integer |
cache_id | ) |
|
void trajcache_resetindex |
( |
integer |
cache_id | ) |
|
The function resets the index of the current allocation and set it at the beginning for a trajectory.
- Parameters
-
[in] | cache_id | the identifier of the TrajCache allocation |
void trajcache_rewind |
( |
integer |
cache_id | ) |
|
trajectory trajectory |
( |
| ) |
|
trajectory trajectory |
( |
pointst |
point | ) |
|
The function constructs a trajectory with a single point.
- Parameters
-
- Returns
- the actual trajectory
trajectory trajectory |
( |
pointst[] |
pointarray | ) |
|
The function constructs a trajectory.
- Parameters
-
- Returns
- the actual trajectory