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

The implementantion in sql of RangeSP. More...

Functions

rangesp inrangesp (cstring)
 
cstring outrangesp (rangesp)
 
rangesp recvrangesp (internal)
 
bytea send (rangesp)
 
boolean equals (rangesp rangea, rangesp rangeb)
 
integer hash (rangesp range)
 
integer getr (rangesp range)
 The function returns the radius of the RangeSP. More...
 
pointsp getc (rangesp range)
 The function returns the center of the RangeSP. More...
 
integer getx (rangesp range)
 The function returns the x coordinate of the center of the RangeSP. More...
 
integer gety (rangesp range)
 The function returns the y coordinate of the center of the RangeSP. More...
 
rangesp rangesp (integer r, integer cx, integer cy)
 
rangesp rangesp (integer r, pointsp c)
 
rangesp clone (rangesp range)
 

Detailed Description

The implementantion in sql of RangeSP.

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

RangeSP is a spatial data type used in Hermes

See also
Spatial data types

Function Documentation

rangesp clone ( rangesp  range)
boolean equals ( rangesp  rangea,
rangesp  rangeb 
)
pointsp getc ( rangesp  range)

The function returns the center of the RangeSP.

Parameters
[in]rangeThe RangeSP
Returns
the center
See also
get
integer getr ( rangesp  range)

The function returns the radius of the RangeSP.

Parameters
[in]rangeThe RangeSP
Returns
the radius
See also
get
integer getx ( rangesp  range)

The function returns the x coordinate of the center of the RangeSP.

Parameters
[in]rangeThe RangeSP
Returns
the coordinate
See also
get
integer gety ( rangesp  range)

The function returns the y coordinate of the center of the RangeSP.

Parameters
[in]rangeThe RangeSP
Returns
the coordinate
See also
get
integer hash ( rangesp  range)
rangesp inrangesp ( cstring  )
cstring outrangesp ( rangesp  )
rangesp rangesp ( integer  r,
integer  cx,
integer  cy 
)
rangesp rangesp ( integer  r,
pointsp  c 
)
rangesp recvrangesp ( internal  )
bytea send ( rangesp  )