Hermes
|
#include "Definition.h"
#include "../CRS/PointXY/Definition.h"
#include "../../Math/Vector2D/Definition.h"
Functions | |
float8 | lengthSegmentSP (const SegmentSP *segment) |
Vector2D * | directionSegmentSP (const SegmentSP *segment, Vector2D *result, float8 *norm) |
PGDLLEXPORT Datum | lengthSegmentSPV1 (PG_FUNCTION_ARGS) |
PGDLLEXPORT Datum | directionSegmentSPV1 (PG_FUNCTION_ARGS) |
PointXY * | centerSegmentSP (const SegmentSP *segment, PointXY *result) |
float8 | centerXSegmentSP (const SegmentSP *segment) |
float8 | centerYSegmentSP (const SegmentSP *segment) |
PGDLLEXPORT Datum | centerSegmentSPV1 (PG_FUNCTION_ARGS) |
PGDLLEXPORT Datum | centerXSegmentSPV1 (PG_FUNCTION_ARGS) |
PGDLLEXPORT Datum | centerYSegmentSPV1 (PG_FUNCTION_ARGS) |
References SegmentSP::e, SegmentSP::i, PointXY::x, PointSP::x, PointXY::y, and PointSP::y.
Referenced by centerSegmentSPV1(), closestPointSegmentSP_PointSP(), closestPointsSegmentSP_SegmentSP(), distanceSegmentSP_PointSP(), distanceSegmentSP_SegmentSP(), intersectionSegmentSP_BoxSP(), and intersectionSegmentSP_SegmentSP().
PGDLLEXPORT Datum centerSegmentSPV1 | ( | PG_FUNCTION_ARGS | ) |
float8 centerXSegmentSP | ( | const SegmentSP * | segment | ) |
References SegmentSP::e, SegmentSP::i, and PointSP::x.
Referenced by centerXSegmentSPV1().
PGDLLEXPORT Datum centerXSegmentSPV1 | ( | PG_FUNCTION_ARGS | ) |
float8 centerYSegmentSP | ( | const SegmentSP * | segment | ) |
References SegmentSP::e, SegmentSP::i, and PointSP::y.
Referenced by centerYSegmentSPV1().
PGDLLEXPORT Datum centerYSegmentSPV1 | ( | PG_FUNCTION_ARGS | ) |
References e(), SegmentSP::e, i(), SegmentSP::i, normalizeVector2D(), PointSP2Vector2D(), and subtractionVector2D().
Referenced by closestPointSegmentSP_PointSP(), closestPointsSegmentSP_SegmentSP(), directionSegmentSPV1(), distanceSegmentSP_PointSP(), distanceSegmentSP_SegmentSP(), intersectionSegmentSP_BoxSP(), and intersectionSegmentSP_SegmentSP().
PGDLLEXPORT Datum directionSegmentSPV1 | ( | PG_FUNCTION_ARGS | ) |
float8 lengthSegmentSP | ( | const SegmentSP * | segment | ) |
References SegmentSP::e, SegmentSP::i, PointSP::x, and PointSP::y.
Referenced by angleDistanceTraclus(), atDistanceTrajectory(), atInstantSPSegmentST(), averageSpeedSegmentST(), isStoppedSegmentST(), lengthSegmentSPV1(), and resizeSegmentSP().
PGDLLEXPORT Datum lengthSegmentSPV1 | ( | PG_FUNCTION_ARGS | ) |