Hermes
 All Data Structures Files Functions Variables Macros Pages
Properties.h File Reference
#include "Definition.h"
Include dependency graph for Properties.h:
This graph shows which files directly or indirectly include this file:

Functions

Interval * durationInIntervalTrajectory (Datum trajectory, Interval *result)
 
PGDLLEXPORT Datum durationInIntervalTrajectoryV1 (PG_FUNCTION_ARGS)
 
float8 * durationTrajectory (Datum trajectory, float8 *result)
 
float8 * lengthTrajectory (const Trajectory *trajectory, float8 *result)
 
PGDLLEXPORT Datum lengthTrajectoryV1 (PG_FUNCTION_ARGS)
 
float8 * displacementTrajectory (Datum trajectory, float8 *result)
 
PGDLLEXPORT Datum displacementTrajectoryV1 (PG_FUNCTION_ARGS)
 
PointSTcentroidTrajectory (const Trajectory *trajectory, PointST *result)
 
PGDLLEXPORT Datum centroidTrajectoryV1 (PG_FUNCTION_ARGS)
 
PointSPmassCenterTrajectory (const Trajectory *trajectory, PointSP *result)
 
PGDLLEXPORT Datum massCenterTrajectoryV1 (PG_FUNCTION_ARGS)
 
float8 * gyradiusTrajectory (const Trajectory *trajectory, float8 *result)
 
PGDLLEXPORT Datum gyradiusTrajectoryV1 (PG_FUNCTION_ARGS)
 
float8 * angleXXAvgTrajectory (const Trajectory *trajectory, float8 *result)
 
PGDLLEXPORT Datum angleXXAvgTrajectoryV1 (PG_FUNCTION_ARGS)
 
float8 * angleXXTrajectory (Datum trajectory, float8 *result)
 
PGDLLEXPORT Datum angleXXTrajectoryV1 (PG_FUNCTION_ARGS)
 
float8 * averageSpeedTrajectory (Datum trajectory, float8 *result)
 
PGDLLEXPORT Datum averageSpeedTrajectoryV1 (PG_FUNCTION_ARGS)
 
float8 * normalizedSamplingRateTrajectory (Datum trajectory, float8 *result)
 
PGDLLEXPORT Datum normalizedSamplingRateTrajectoryV1 (PG_FUNCTION_ARGS)
 

Function Documentation

float8* angleXXAvgTrajectory ( const Trajectory trajectory,
float8 *  result 
)

References angleXXLineSP(), SegmentSP::e, i(), SegmentSP::i, Trajectory::NrPoints, Trajectory::points, SegmentSP2LineSP(), and PointST::sp.

Referenced by angleXXAvgTrajectoryV1().

Here is the call graph for this function:

PGDLLEXPORT Datum angleXXAvgTrajectoryV1 ( PG_FUNCTION_ARGS  )

References angleXXAvgTrajectory().

Here is the call graph for this function:

float8* angleXXTrajectory ( Datum  trajectory,
float8 *  result 
)

References angleXXLineSP(), SegmentSP::e, SegmentSP::i, NrPointsTrajectory(), pointAtTrajectory(), SegmentSP2LineSP(), and PointST::sp.

Referenced by angleXXTrajectoryV1().

Here is the call graph for this function:

PGDLLEXPORT Datum angleXXTrajectoryV1 ( PG_FUNCTION_ARGS  )

References angleXXTrajectory().

Here is the call graph for this function:

float8* averageSpeedTrajectory ( Datum  trajectory,
float8 *  result 
)
PGDLLEXPORT Datum averageSpeedTrajectoryV1 ( PG_FUNCTION_ARGS  )

References averageSpeedTrajectory().

Here is the call graph for this function:

PointST* centroidTrajectory ( const Trajectory trajectory,
PointST result 
)
PGDLLEXPORT Datum centroidTrajectoryV1 ( PG_FUNCTION_ARGS  )

References centroidTrajectory().

Here is the call graph for this function:

float8* displacementTrajectory ( Datum  trajectory,
float8 *  result 
)

References distancePointSP_PointSP(), NrPointsTrajectory(), pointAtTrajectory(), and PointST::sp.

Referenced by displacementTrajectoryV1().

Here is the call graph for this function:

PGDLLEXPORT Datum displacementTrajectoryV1 ( PG_FUNCTION_ARGS  )

References displacementTrajectory().

Here is the call graph for this function:

Interval* durationInIntervalTrajectory ( Datum  trajectory,
Interval *  result 
)

References differenceInInterval(), e(), i(), NrPointsTrajectory(), pointAtTrajectory(), and PointST::t.

Referenced by durationInIntervalTrajectoryV1(), and durationTrajectory().

Here is the call graph for this function:

PGDLLEXPORT Datum durationInIntervalTrajectoryV1 ( PG_FUNCTION_ARGS  )

References durationInIntervalTrajectory().

Here is the call graph for this function:

float8* durationTrajectory ( Datum  trajectory,
float8 *  result 
)

References durationInIntervalTrajectory(), and interval2seconds().

Here is the call graph for this function:

float8* gyradiusTrajectory ( const Trajectory trajectory,
float8 *  result 
)

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

Referenced by gyradiusTrajectoryV1().

Here is the call graph for this function:

PGDLLEXPORT Datum gyradiusTrajectoryV1 ( PG_FUNCTION_ARGS  )

References gyradiusTrajectory().

Here is the call graph for this function:

float8* lengthTrajectory ( const Trajectory trajectory,
float8 *  result 
)

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

Referenced by lengthTrajectoryV1().

Here is the call graph for this function:

PGDLLEXPORT Datum lengthTrajectoryV1 ( PG_FUNCTION_ARGS  )

References lengthTrajectory().

Here is the call graph for this function:

PointSP* massCenterTrajectory ( const Trajectory trajectory,
PointSP result 
)

References i(), Trajectory::NrPoints, Trajectory::points, round(), PointST::sp, PointSP::x, and PointSP::y.

Referenced by massCenterTrajectoryV1().

Here is the call graph for this function:

PGDLLEXPORT Datum massCenterTrajectoryV1 ( PG_FUNCTION_ARGS  )

References massCenterTrajectory().

Here is the call graph for this function:

float8* normalizedSamplingRateTrajectory ( Datum  trajectory,
float8 *  result 
)

References differenceInSeconds(), e(), i(), NrPointsTrajectory(), pointAtTrajectory(), and PointST::t.

Referenced by normalizedSamplingRateTrajectoryV1().

Here is the call graph for this function:

PGDLLEXPORT Datum normalizedSamplingRateTrajectoryV1 ( PG_FUNCTION_ARGS  )

References normalizedSamplingRateTrajectory().

Here is the call graph for this function: