Hermes
 All Data Structures Files Functions Variables Macros Pages
Interactions.c File Reference

The implementantion of SegmentSP. More...

Include dependency graph for Interactions.c:

Functions

static bool clip (float8 denom, float8 numer, float8 *t0, float8 *t1)
 
int32 intersectionSegmentSP_BoxSP (const SegmentSP *segment, const BoxSP *box, bool solid, SegmentSP *commonSegment, PointSP *commonPoint)
 
PGDLLEXPORT Datum intersectionSegmentSP_BoxSPV1 (PG_FUNCTION_ARGS)
 
 PG_FUNCTION_INFO_V1 (intersectionSegmentSP_BoxSPV1)
 
int32 intersectionSegmentSP_SegmentSP (const SegmentSP *segmentA, const SegmentSP *segmentB, SegmentSP *commonSegment, PointSP *commonPoint)
 
PGDLLEXPORT Datum intersectionSegmentSP_SegmentSPV1 (PG_FUNCTION_ARGS)
 
 PG_FUNCTION_INFO_V1 (intersectionSegmentSP_SegmentSPV1)
 
PointSPclosestPointSegmentSP_PointSP (const SegmentSP *segment, const PointSP *point, PointSP *result)
 
PGDLLEXPORT Datum closestPointSegmentSP_PointSPV1 (PG_FUNCTION_ARGS)
 
 PG_FUNCTION_INFO_V1 (closestPointSegmentSP_PointSPV1)
 
int32 closestPointsSegmentSP_SegmentSP (const SegmentSP *segmentA, const SegmentSP *segmentB, PointSP *cpA, PointSP *cpB)
 
PGDLLEXPORT Datum closestPointsSegmentSP_SegmentSPV1 (PG_FUNCTION_ARGS)
 
 PG_FUNCTION_INFO_V1 (closestPointsSegmentSP_SegmentSPV1)
 

Detailed Description

The implementantion of SegmentSP.

Author
Marios Vodas (mvoda.nosp@m.s@gm.nosp@m.ail.c.nosp@m.om).

These functions are documented in the SegmentSP/Interactions.h

Function Documentation

static bool clip ( float8  denom,
float8  numer,
float8 *  t0,
float8 *  t1 
)
static
PointSP* closestPointSegmentSP_PointSP ( const SegmentSP segment,
const PointSP point,
PointSP result 
)
PGDLLEXPORT Datum closestPointSegmentSP_PointSPV1 ( PG_FUNCTION_ARGS  )

References closestPointSegmentSP_PointSP().

Here is the call graph for this function:

int32 closestPointsSegmentSP_SegmentSP ( const SegmentSP segmentA,
const SegmentSP segmentB,
PointSP cpA,
PointSP cpB 
)
PGDLLEXPORT Datum closestPointsSegmentSP_SegmentSPV1 ( PG_FUNCTION_ARGS  )

References closestPointsSegmentSP_SegmentSP().

Here is the call graph for this function:

PGDLLEXPORT Datum intersectionSegmentSP_BoxSPV1 ( PG_FUNCTION_ARGS  )

References intersectionSegmentSP_BoxSP().

Here is the call graph for this function:

PGDLLEXPORT Datum intersectionSegmentSP_SegmentSPV1 ( PG_FUNCTION_ARGS  )

References intersectionSegmentSP_SegmentSP().

Here is the call graph for this function:

PG_FUNCTION_INFO_V1 ( intersectionSegmentSP_BoxSPV1  )
PG_FUNCTION_INFO_V1 ( intersectionSegmentSP_SegmentSPV1  )
PG_FUNCTION_INFO_V1 ( closestPointSegmentSP_PointSPV1  )
PG_FUNCTION_INFO_V1 ( closestPointsSegmentSP_SegmentSPV1  )