Hermes
|
The implementation of Trajectory. More...
#include "../../h/SpatioTemporal/Trajectory/Properties.h"
#include "../../h/SpatioTemporal/Trajectory/Accessors.h"
#include "../../h/SpatioTemporal/SegmentST/Properties.h"
#include "../../h/Spatial/PointSP/Distance.h"
#include "../../h/Spatial/SegmentSP/Casts.h"
#include "../../h/Spatial/LineSP/Properties.h"
#include "../../h/Utilities/Utilities.h"
#include "../../h/Utilities/MSVCWorkarounds.h"
The implementation of Trajectory.
These functions are documented in the Trajectory/Properties.h
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 | ) |
PG_FUNCTION_INFO_V1 | ( | durationInIntervalTrajectoryV1 | ) |
PG_FUNCTION_INFO_V1 | ( | lengthTrajectoryV1 | ) |
PG_FUNCTION_INFO_V1 | ( | displacementTrajectoryV1 | ) |
PG_FUNCTION_INFO_V1 | ( | centroidTrajectoryV1 | ) |
PG_FUNCTION_INFO_V1 | ( | massCenterTrajectoryV1 | ) |
PG_FUNCTION_INFO_V1 | ( | gyradiusTrajectoryV1 | ) |
PG_FUNCTION_INFO_V1 | ( | angleXXAvgTrajectoryV1 | ) |
PG_FUNCTION_INFO_V1 | ( | angleXXTrajectoryV1 | ) |
PG_FUNCTION_INFO_V1 | ( | averageSpeedTrajectoryV1 | ) |
PG_FUNCTION_INFO_V1 | ( | normalizedSamplingRateTrajectoryV1 | ) |