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

The implementantion of SegmentSP. More...

Include dependency graph for ArithmeticOperators.c:

Functions

SegmentSPresizeSegmentSP (const SegmentSP *segment, float8 nlength, SegmentSP *result)
 
PGDLLEXPORT Datum resizeSegmentSPV1 (PG_FUNCTION_ARGS)
 
 PG_FUNCTION_INFO_V1 (resizeSegmentSPV1)
 

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

Function Documentation

PG_FUNCTION_INFO_V1 ( resizeSegmentSPV1  )
SegmentSP* resizeSegmentSP ( const SegmentSP segment,
float8  nlength,
SegmentSP result 
)

References SegmentSP::e, SegmentSP::i, length(), lengthSegmentSP(), round(), PointSP::x, and PointSP::y.

Referenced by atDistanceTrajectory(), and resizeSegmentSPV1().

Here is the call graph for this function:

PGDLLEXPORT Datum resizeSegmentSPV1 ( PG_FUNCTION_ARGS  )

References resizeSegmentSP().

Here is the call graph for this function: