|
Hermes
|
The implementantion of SegmentSP. More...
#include "../../h/Spatial/SegmentSP/Properties.h"#include "../../h/Spatial/PointSP/Casts.h"#include "../../h/Math/Vector2D/ArithmeticOperators.h"#include <math.h>
Functions | |
| float8 | lengthSegmentSP (const SegmentSP *segment) |
| Vector2D * | directionSegmentSP (const SegmentSP *segment, Vector2D *result, float8 *norm) |
| PGDLLEXPORT Datum | lengthSegmentSPV1 (PG_FUNCTION_ARGS) |
| PG_FUNCTION_INFO_V1 (lengthSegmentSPV1) | |
| PGDLLEXPORT Datum | directionSegmentSPV1 (PG_FUNCTION_ARGS) |
| PG_FUNCTION_INFO_V1 (directionSegmentSPV1) | |
| PointXY * | centerSegmentSP (const SegmentSP *segment, PointXY *result) |
| float8 | centerXSegmentSP (const SegmentSP *segment) |
| float8 | centerYSegmentSP (const SegmentSP *segment) |
| PGDLLEXPORT Datum | centerSegmentSPV1 (PG_FUNCTION_ARGS) |
| PG_FUNCTION_INFO_V1 (centerSegmentSPV1) | |
| PGDLLEXPORT Datum | centerXSegmentSPV1 (PG_FUNCTION_ARGS) |
| PG_FUNCTION_INFO_V1 (centerXSegmentSPV1) | |
| PGDLLEXPORT Datum | centerYSegmentSPV1 (PG_FUNCTION_ARGS) |
| PG_FUNCTION_INFO_V1 (centerYSegmentSPV1) | |
The implementantion of SegmentSP.
These functions are documented in the SegmentSP/Properties.h
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 | ) |
| PG_FUNCTION_INFO_V1 | ( | lengthSegmentSPV1 | ) |
| PG_FUNCTION_INFO_V1 | ( | directionSegmentSPV1 | ) |
| PG_FUNCTION_INFO_V1 | ( | centerSegmentSPV1 | ) |
| PG_FUNCTION_INFO_V1 | ( | centerXSegmentSPV1 | ) |
| PG_FUNCTION_INFO_V1 | ( | centerYSegmentSPV1 | ) |