|
Hermes
|
The implementation of Trajectory. More...
#include "../../../h/SpatioTemporal/Trajectory/Similarity.h"#include "../../../h/Spatial/PointSP/Distance.h"
Functions | |
| float8 * | EuclideanEnd (const Trajectory *trajectoryA, const Trajectory *trajectoryB, float8 *result) |
| The function returns the euclidean distance between the last points of the trajectories. More... | |
| PGDLLEXPORT Datum | EuclideanEndV1 (PG_FUNCTION_ARGS) |
| PG_FUNCTION_INFO_V1 (EuclideanEndV1) | |
The implementation of Trajectory.
These functions are documented in the Trajectory/Similarity.h
| float8* EuclideanEnd | ( | const Trajectory * | trajectoryA, |
| const Trajectory * | trajectoryB, | ||
| float8 * | result | ||
| ) |
The function returns the euclidean distance between the last points of the trajectories.
| [in] | trajectoryA | The first trajectory |
| [in] | trajectoryB | The second trajectory |
| [out] | result | The result |
References distancePointSP_PointSP(), Trajectory::NrPoints, Trajectory::points, and PointST::sp.
Referenced by EuclideanEndV1().

| PGDLLEXPORT Datum EuclideanEndV1 | ( | PG_FUNCTION_ARGS | ) |
| PG_FUNCTION_INFO_V1 | ( | EuclideanEndV1 | ) |