Hermes
|
The implementantion of SegmentSP. More...
#include "../../h/Spatial/SegmentSP/Interactions.h"
#include "../../h/Spatial/SegmentSP/Properties.h"
#include "../../h/Spatial/SegmentSP/Casts.h"
#include "../../h/Spatial/BoxSP/Properties.h"
#include "../../h/Spatial/BoxSP/Interactions.h"
#include "../../h/Spatial/PointSP/Casts.h"
#include "../../h/Spatial/CRS/PointXY/Casts.h"
#include "../../h/Math/Vector2D/ArithmeticOperators.h"
#include "../../h/Math/Vector2D/Casts.h"
#include "../../h/SessionParameters.h"
#include <funcapi.h>
#include <access/htup_details.h>
#include <math.h>
The implementantion of SegmentSP.
These functions are documented in the SegmentSP/Interactions.h
|
static |
Referenced by intersectionSegmentSP_BoxSP().
PointSP* closestPointSegmentSP_PointSP | ( | const SegmentSP * | segment, |
const PointSP * | point, | ||
PointSP * | result | ||
) |
References additionVector2D(), centerSegmentSP(), directionSegmentSP(), dotProductVector2D(), SegmentSP::e, SegmentSP::i, multiplicationScalarVector2D(), PointSP2Vector2D(), PointXY2Vector2D(), subtractionVector2D(), and Vector2D2PointSP().
Referenced by closestPointSegmentSP_PointSPV1().
PGDLLEXPORT Datum closestPointSegmentSP_PointSPV1 | ( | PG_FUNCTION_ARGS | ) |
int32 closestPointsSegmentSP_SegmentSP | ( | const SegmentSP * | segmentA, |
const SegmentSP * | segmentB, | ||
PointSP * | cpA, | ||
PointSP * | cpB | ||
) |
References additionVector2D(), centerSegmentSP(), directionSegmentSP(), dotProductVector2D(), equalsPointSP(), multiplicationScalarVector2D(), PointXY2Vector2D(), subtractionVector2D(), Vector2D2PointSP(), and zeroTolerance.
Referenced by closestPointsSegmentSP_SegmentSPV1().
PGDLLEXPORT Datum closestPointsSegmentSP_SegmentSPV1 | ( | PG_FUNCTION_ARGS | ) |
int32 intersectionSegmentSP_BoxSP | ( | const SegmentSP * | segment, |
const BoxSP * | box, | ||
bool | solid, | ||
SegmentSP * | commonSegment, | ||
PointSP * | commonPoint | ||
) |
References additionVector2D(), centerBoxSP(), centerSegmentSP(), clip(), directionSegmentSP(), SegmentSP::e, BoxSP::h, SegmentSP::i, BoxSP::l, multiplicationScalarVector2D(), PointXY2Vector2D(), subtractionVector2D(), Vector2D2PointSP(), Vector2D::x, PointSP::x, Vector2D::y, and PointSP::y.
Referenced by atBoxSegmentST(), atBoxTrajectory(), atBoxTSegmentST(), intersectionSegmentSP_BoxSPV1(), and intersectsSegmentSP_BoxSP().
PGDLLEXPORT Datum intersectionSegmentSP_BoxSPV1 | ( | PG_FUNCTION_ARGS | ) |
int32 intersectionSegmentSP_SegmentSP | ( | const SegmentSP * | segmentA, |
const SegmentSP * | segmentB, | ||
SegmentSP * | commonSegment, | ||
PointSP * | commonPoint | ||
) |
References additionVector2D(), centerSegmentSP(), clonePointSP(), directionSegmentSP(), SegmentSP::e, equalsPointSP(), hl_lhBoxSP(), SegmentSP::i, intersectionBoxSP_BoxSP(), isPunctalBoxSP(), BoxSP::l, l_hBoxSP(), multiplicationScalarVector2D(), normalizeVector2D(), perpDotProductVector2D(), PointXY2Vector2D(), SegmentSP2BoxSP(), subtractionVector2D(), Vector2D2PointSP(), and zeroTolerance.
Referenced by intersectionPointSegmentST_SegmentST(), intersectionSegmentSP_SegmentSPV1(), and intersectsSegmentSP_SegmentSP().
PGDLLEXPORT Datum intersectionSegmentSP_SegmentSPV1 | ( | PG_FUNCTION_ARGS | ) |
PG_FUNCTION_INFO_V1 | ( | intersectionSegmentSP_BoxSPV1 | ) |
PG_FUNCTION_INFO_V1 | ( | intersectionSegmentSP_SegmentSPV1 | ) |
PG_FUNCTION_INFO_V1 | ( | closestPointSegmentSP_PointSPV1 | ) |
PG_FUNCTION_INFO_V1 | ( | closestPointsSegmentSP_SegmentSPV1 | ) |