XxxBoxADT: Basic ADT for handling any generic rectangle data
![]() | PlanInfo : public XxxFuncPlanInfo PlanInfo: Plan structure for methods on boxes |
![]() | BoxTypeId Box type ID |
![]() | Equals (const XxxADTValue* Obj1, const XxxADTMetaInfo*, const XxxADTValue* Obj2, const XxxADTMetaInfo*) Equals method between boxes. |
![]() | GetBoundingBox (const XxxADTValue *&Object, XxxBoundingBox& Box) Retrieves the bounding box of this spatial data type |
![]() | GetCompOp (const char* FName, XxxCompareOp& CompOp, XxxBool& Success) Retrieves the compare method given a function name and a array of arguments for that function |
![]() | ReadText (istream& InStream, XxxADTValue* ObjectRef, const XxxADTMetaInfo* MetaInfo) Input function for loading boxes into tables |
![]() | WriteText (ostream& OutStream, const XxxADTValue* Object, const XxxADTMetaInfo* MetaInfo) Display function for the txtclient protocol |
![]() | XxxBoxADT (XxxBasicType Id) Constructor for XxxBoxADT. |
![]() | ~XxxBoxADT () Destructor for XxxBoxADT. |
XxxBoxADT: Basic ADT for handling any generic rectangle data. Boxes are stored as fixed size objects within a record and simply contain the lower left and upper right points within a Cartesian coordinate system. Currently-supported methods are the same as those supported by polygons: disjoint(), meets(), covers(), contains(), covered_by(), inside(), overlaps(), and equals(). These methods were chosen via the 9-point intersection model of spatial objects.
class PlanInfo: public XxxFuncPlanInfo
XxxBoxADT(XxxBasicType Id)
virtual ~XxxBoxADT()
virtual XxxErrCode WriteText(ostream& OutStream, const XxxADTValue* Object, const XxxADTMetaInfo* MetaInfo)
Object - Buffer containing the BOX.
MetaInfo - Meta info for box.
virtual XxxErrCode ReadText(istream& InStream, XxxADTValue* ObjectRef, const XxxADTMetaInfo* MetaInfo)
ObjectRef - Buffer in which to store the BOX.
MetaInfo - Meta info for box.
virtual XxxBool Equals(const XxxADTValue* Obj1, const XxxADTMetaInfo*, const XxxADTValue* Obj2, const XxxADTMetaInfo*)
virtual XxxBool GetBoundingBox(const XxxADTValue *&Object, XxxBoundingBox& Box)
virtual XxxErrCode GetCompOp(const char* FName, XxxCompareOp& CompOp, XxxBool& Success)
this page has been generated automatically by doc++
(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de