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

The implementantion in sql of SegmentSP. More...

Functions

boolean intersects (segmentsp segment, boxsp box)
 
boolean intersects (segmentsp segmenta, segmentsp segmentb)
 
boolean contains (segmentsp segment, pointsp point)
 This function checks if an object contains an another object. More...
 
boolean contained (segmentsp segment, boxsp box)
 
boolean containedproperly (segmentsp segment, boxsp box)
 
boolean withindistance (segmentsp segment, rangesp range)
 

Detailed Description

The implementantion in sql of SegmentSP.

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

SegmentSP is a spatial data type used in Hermes

See also
Spatial data types

Function Documentation

boolean contained ( segmentsp  segment,
boxsp  box 
)
boolean containedproperly ( segmentsp  segment,
boxsp  box 
)
boolean contains ( segmentsp  segment,
pointsp  point 
)

This function checks if an object contains an another object.

Parameters
[in]segmentthe SegmentSP
[in]pointthe PointSP
Returns
true or false
boolean intersects ( segmentsp  segment,
boxsp  box 
)
boolean intersects ( segmentsp  segmenta,
segmentsp  segmentb 
)
boolean withindistance ( segmentsp  segment,
rangesp  range 
)