Hermes
|
#include "Definition.h"
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) |
PointST * | centroidTrajectory (const Trajectory *trajectory, PointST *result) |
PGDLLEXPORT Datum | centroidTrajectoryV1 (PG_FUNCTION_ARGS) |
PointSP * | massCenterTrajectory (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) |
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().
PGDLLEXPORT Datum angleXXAvgTrajectoryV1 | ( | PG_FUNCTION_ARGS | ) |
float8* angleXXTrajectory | ( | Datum | trajectory, |
float8 * | result | ||
) |
References angleXXLineSP(), SegmentSP::e, SegmentSP::i, NrPointsTrajectory(), pointAtTrajectory(), SegmentSP2LineSP(), and PointST::sp.
Referenced by angleXXTrajectoryV1().
PGDLLEXPORT Datum angleXXTrajectoryV1 | ( | PG_FUNCTION_ARGS | ) |
float8* averageSpeedTrajectory | ( | Datum | trajectory, |
float8 * | result | ||
) |
References averageSpeedSegmentST(), SegmentSP::e, Period::e, SegmentSP::i, Period::i, NrPointsTrajectory(), pointAtTrajectory(), PointST::sp, SegmentST::sp, PointST::t, and SegmentST::t.
Referenced by averageSpeedTrajectoryV1().
PGDLLEXPORT Datum averageSpeedTrajectoryV1 | ( | PG_FUNCTION_ARGS | ) |
PointST* centroidTrajectory | ( | const Trajectory * | trajectory, |
PointST * | result | ||
) |
References i(), Trajectory::NrPoints, Trajectory::points, round(), seconds2timestamp(), PointST::sp, PointST::t, timestamp2seconds(), PointSP::x, and PointSP::y.
Referenced by centroidTrajectoryV1(), and gyradiusTrajectory().
PGDLLEXPORT Datum centroidTrajectoryV1 | ( | PG_FUNCTION_ARGS | ) |
float8* displacementTrajectory | ( | Datum | trajectory, |
float8 * | result | ||
) |
References distancePointSP_PointSP(), NrPointsTrajectory(), pointAtTrajectory(), and PointST::sp.
Referenced by displacementTrajectoryV1().
PGDLLEXPORT Datum displacementTrajectoryV1 | ( | PG_FUNCTION_ARGS | ) |
Interval* durationInIntervalTrajectory | ( | Datum | trajectory, |
Interval * | result | ||
) |
References differenceInInterval(), e(), i(), NrPointsTrajectory(), pointAtTrajectory(), and PointST::t.
Referenced by durationInIntervalTrajectoryV1(), and durationTrajectory().
PGDLLEXPORT Datum durationInIntervalTrajectoryV1 | ( | PG_FUNCTION_ARGS | ) |
float8* durationTrajectory | ( | Datum | trajectory, |
float8 * | result | ||
) |
References durationInIntervalTrajectory(), and interval2seconds().
float8* gyradiusTrajectory | ( | const Trajectory * | trajectory, |
float8 * | result | ||
) |
References centroidTrajectory(), distancePointSP_PointSP(), i(), Trajectory::NrPoints, Trajectory::points, and PointST::sp.
Referenced by gyradiusTrajectoryV1().
PGDLLEXPORT Datum gyradiusTrajectoryV1 | ( | PG_FUNCTION_ARGS | ) |
float8* lengthTrajectory | ( | const Trajectory * | trajectory, |
float8 * | result | ||
) |
References distancePointSP_PointSP(), i(), Trajectory::NrPoints, Trajectory::points, and PointST::sp.
Referenced by lengthTrajectoryV1().
PGDLLEXPORT Datum lengthTrajectoryV1 | ( | PG_FUNCTION_ARGS | ) |
PointSP* massCenterTrajectory | ( | const Trajectory * | trajectory, |
PointSP * | result | ||
) |
References i(), Trajectory::NrPoints, Trajectory::points, round(), PointST::sp, PointSP::x, and PointSP::y.
Referenced by massCenterTrajectoryV1().
PGDLLEXPORT Datum massCenterTrajectoryV1 | ( | PG_FUNCTION_ARGS | ) |
float8* normalizedSamplingRateTrajectory | ( | Datum | trajectory, |
float8 * | result | ||
) |
References differenceInSeconds(), e(), i(), NrPointsTrajectory(), pointAtTrajectory(), and PointST::t.
Referenced by normalizedSamplingRateTrajectoryV1().
PGDLLEXPORT Datum normalizedSamplingRateTrajectoryV1 | ( | PG_FUNCTION_ARGS | ) |