Hermes
 All Data Structures Files Functions Variables Macros Pages
Definition.sql File Reference

The implementantion in sql of LineSP. More...

Functions

linesp inlinesp (cstring)
 
cstring outlinesp (linesp)
 
linesp recvlinesp (internal)
 
bytea send (linesp)
 
boolean equals (linesp linea, linesp lineb)
 
integer hash (linesp line)
 
float8 geta (linesp line)
 The function returns the A parameter of the line. More...
 
float8 getb (linesp line)
 The function returns the B parameter of the line. More...
 
float8 getc (linesp line)
 The function returns the C parameter of the line. More...
 
linesp linesp (float8 a, float8 b, float8 c)
 The function creates a LineSP from 3 double precision numbers. More...
 
linesp clone (linesp line)
 

Detailed Description

The implementantion in sql of LineSP.

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

LineSP is a spatial data type used in Hermes

See also
Spatial data types

Function Documentation

linesp clone ( linesp  line)
boolean equals ( linesp  linea,
linesp  lineb 
)
float8 geta ( linesp  line)

The function returns the A parameter of the line.

Parameters
[in]lineThe LineSP
Returns
the A parameter
See also
get
float8 getb ( linesp  line)

The function returns the B parameter of the line.

Parameters
[in]lineThe LineSP
Returns
the B parameter
See also
get
float8 getc ( linesp  line)

The function returns the C parameter of the line.

Parameters
[in]lineThe LineSP
Returns
the C parameter
See also
get
integer hash ( linesp  line)
linesp inlinesp ( cstring  )
linesp linesp ( float8  a,
float8  b,
float8  c 
)

The function creates a LineSP from 3 double precision numbers.

Parameters
[in]Athe A parameter
[in]Bthe B parameter
[in]Cthe C parameter
Returns
LineSP
cstring outlinesp ( linesp  )
linesp recvlinesp ( internal  )
bytea send ( linesp  )