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

The implementantion in sql of BoxSP. More...

Functions

boolean intersects (boxsp boxa, boxsp boxb)
 
boolean contains (boxsp box, pointsp point)
 This function checks if an object contains an another object. More...
 
boolean contains (boxsp boxa, boxsp boxb)
 This function checks if an object contains an another object. More...
 
boolean containsproperly (boxsp box, pointsp point)
 
boolean containsproperly (boxsp boxa, boxsp boxb)
 
boolean north (boxsp box, pointsp point)
 
boolean north (boxsp boxa, boxsp boxb)
 
boolean south (boxsp box, pointsp point)
 
boolean south (boxsp boxa, boxsp boxb)
 
boolean east (boxsp box, pointsp point)
 
boolean east (boxsp boxa, boxsp boxb)
 
boolean west (boxsp box, pointsp point)
 
boolean west (boxsp boxa, boxsp boxb)
 

Detailed Description

The implementantion in sql of BoxSP.

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

BoxSP is a spatial data type used in Hermes

See also
Spatial data types

Function Documentation

boolean contains ( boxsp  box,
pointsp  point 
)

This function checks if an object contains an another object.

Parameters
[in]boxthe BoxSP
[in]pointthe PointST
Returns
true or false
boolean contains ( boxsp  boxa,
boxsp  boxb 
)

This function checks if an object contains an another object.

Parameters
[in]boxAthe BoxSP
[in]boxBthe BoxSP
Returns
true or false
boolean containsproperly ( boxsp  box,
pointsp  point 
)
boolean containsproperly ( boxsp  boxa,
boxsp  boxb 
)
boolean east ( boxsp  box,
pointsp  point 
)

Referenced by distanceBoxSP_BoxSP().

boolean east ( boxsp  boxa,
boxsp  boxb 
)
boolean intersects ( boxsp  boxa,
boxsp  boxb 
)
boolean north ( boxsp  box,
pointsp  point 
)

Referenced by distanceBoxSP_BoxSP().

boolean north ( boxsp  boxa,
boxsp  boxb 
)
boolean south ( boxsp  box,
pointsp  point 
)

Referenced by distanceBoxSP_BoxSP().

boolean south ( boxsp  boxa,
boxsp  boxb 
)
boolean west ( boxsp  box,
pointsp  point 
)

Referenced by distanceBoxSP_BoxSP().

boolean west ( boxsp  boxa,
boxsp  boxb 
)