Hermes
 All Data Structures Files Functions Variables Macros Pages
EuclideanEnd.c File Reference

The implementation of Trajectory. More...

Include dependency graph for EuclideanEnd.c:

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)
 

Detailed Description

The implementation of Trajectory.

Author
Marios Vodas (mvoda.nosp@m.s@gm.nosp@m.ail.c.nosp@m.om).

These functions are documented in the Trajectory/Similarity.h

Function Documentation

float8* EuclideanEnd ( const Trajectory trajectoryA,
const Trajectory trajectoryB,
float8 *  result 
)

The function returns the euclidean distance between the last points of the trajectories.

Parameters
[in]trajectoryAThe first trajectory
[in]trajectoryBThe second trajectory
[out]resultThe result

References distancePointSP_PointSP(), Trajectory::NrPoints, Trajectory::points, and PointST::sp.

Referenced by EuclideanEndV1().

Here is the call graph for this function:

PGDLLEXPORT Datum EuclideanEndV1 ( PG_FUNCTION_ARGS  )

References EuclideanEnd().

Here is the call graph for this function:

PG_FUNCTION_INFO_V1 ( EuclideanEndV1  )