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

The implementantion of SegmentSP. More...

Include dependency graph for Properties.c:

Functions

float8 lengthSegmentSP (const SegmentSP *segment)
 
Vector2DdirectionSegmentSP (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)
 
PointXYcenterSegmentSP (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)
 

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/Properties.h

Function Documentation

PGDLLEXPORT Datum centerSegmentSPV1 ( PG_FUNCTION_ARGS  )

References centerSegmentSP().

Here is the call graph for this function:

float8 centerXSegmentSP ( const SegmentSP segment)

References SegmentSP::e, SegmentSP::i, and PointSP::x.

Referenced by centerXSegmentSPV1().

PGDLLEXPORT Datum centerXSegmentSPV1 ( PG_FUNCTION_ARGS  )

References centerXSegmentSP().

Here is the call graph for this function:

float8 centerYSegmentSP ( const SegmentSP segment)

References SegmentSP::e, SegmentSP::i, and PointSP::y.

Referenced by centerYSegmentSPV1().

PGDLLEXPORT Datum centerYSegmentSPV1 ( PG_FUNCTION_ARGS  )

References centerYSegmentSP().

Here is the call graph for this function:

PGDLLEXPORT Datum directionSegmentSPV1 ( PG_FUNCTION_ARGS  )

References directionSegmentSP().

Here is the call graph for this function:

PGDLLEXPORT Datum lengthSegmentSPV1 ( PG_FUNCTION_ARGS  )

References lengthSegmentSP().

Here is the call graph for this function:

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  )