XxxPolygonADT: Basic ADT for handling any generic polygon data
![]() | InMemPolygon InMemPolygon: In Memory polygon information | ||||||||||||||||||||||||||||||||
![]() | PlanInfo : public XxxFuncPlanInfo PlanInfo: Plan structure for methods on polygons
| ||||||||||||||||||||||||||||||||
![]() | PolygonMetaInfo : public XxxADTMetaInfo PolygonMetaInfo: Meta Info for polygons | ||||||||||||||||||||||||||||||||
![]() | PolygonStruct : public XxxADTValue PolygonStruct: Contains the ADT information on the polygon
|
![]() | PolygonTypeId Polygon's type ID. |
![]() | GetBoundingBox (const XxxADTValue *&Object, XxxBoundingBox& Box) Retrieves the bounding box of this spatial data type |
![]() | GetCompOp (const char* FuncName, XxxCompareOp& CompOp, XxxBool& Success) Retrieves the compare method given a function name and a array of arguments for that function |
![]() | ReadText (istream& is, XxxADTValue* ObjectRef, const XxxADTMetaInfo* MetaInfo) Input function for loading polygons into tables |
![]() | WriteText (ostream& OutStream, const XxxADTValue* Object, const XxxADTMetaInfo *MetaInfo) Display function for the txtclient protocol |
![]() | XxxPolygonADT (XxxBasicType Id) Constructor for XxxPolygonADT |
![]() | ~XxxPolygonADT () Destructor for XxxPolygonADT |
![]() | POLYGONFILENAME / Polygon temp file name. |
![]() | getOid (const XxxADTValue *Object, XxxShoreVolumeId& VolId, XxxShoreObjectId& LocalId) Retrieves a SHORE logical object ID from a char buffer |
![]() | makeMetaInfo (const MetaInfoHandle& MIHandle, XxxADTMetaInfo*& MI) Reads in the meta info for polygons |
![]() | parseMetaInfo (const char* MetaInfoString, MetaInfoHandle& MIHandle) Parses the meta info |
![]() | showDataFile (const char* FileName, ostream& OutStream, const XxxADTValue* Object, const XxxADTMetaInfo* MetaInfo) Does nothing for now |
XxxPolygonADT: Basic ADT for handling any generic polygon data. Polygons are stored as fixed size objects within a record. Consequently they hold an object ID of the actual polygon data stored in SHORE. The polygon data is a file containing a binary stream of doubles, first the x-coords, then the y-coords. The polygon ADT currently supports the following methods: disjoint(), meets(), covers(), contains(), inside(), covered_by(), overlaps(), equals(), size(), and bounding_box(). The first 6 of these methods come from the 9-point intersection model of spatial objects.
PolygonMetaInfo()
virtual XxxErrCode Replicate(XxxADTMetaInfo*& NewMI)
virtual ~PolygonMetaInfo()
virtual void Print(ostream& OStr)
virtual XxxErrCode SerializeCopySize(int &Size)
virtual XxxErrCode SerializeCopy(char *Data)
InMemPolygon(XXX_POLYGON PS)
~InMemPolygon()
XxxErrCode execDisjoint(XxxValueEnv* Env, XxxADTValue *ReturnValue)
ReturnValue - Where to write the answer.
XxxErrCode execMeets(XxxValueEnv* Env, XxxADTValue *ReturnValue)
ReturnValue - Where to write the answer.
XxxErrCode execCovers(XxxValueEnv* Env, XxxADTValue *ReturnValue)
ReturnValue - Where to write the answer.
XxxErrCode execContains(XxxValueEnv* Env, XxxADTValue *ReturnValue)
ReturnValue - Where to write the answer.
XxxErrCode execOverlaps(XxxValueEnv* Env, XxxADTValue *ReturnValue)
ReturnValue - Where to write the answer.
XxxErrCode execInside(XxxValueEnv* Env, XxxADTValue *ReturnValue)
ReturnValue - Where to write the answer.
XxxErrCode execCoveredBy(XxxValueEnv* Env, XxxADTValue *ReturnValue)
ReturnValue - Where to write the answer.
XxxErrCode execEquals(XxxValueEnv* Env, XxxADTValue *ReturnValue)
ReturnValue - Where to write the answer.
XxxErrCode execBoundingBox(XxxValueEnv* Env, XxxADTValue *ReturnValue)
ReturnValue - Where to write the answer.
XxxErrCode execSize(XxxValueEnv* Env, XxxADTValue *ReturnValue)
ReturnValue - Where to write the answer.
static XxxErrCode getMemPolygon(PolygonStruct *PS, InMemPolygon*& Polygon)
static XxxErrCode putMemPolygon(InMemPolygon* Polygon, PolygonStruct *PS, XxxShoreVolumeId &VolId, XxxShoreObjectId &FileId)
static XxxErrCode reclaimMemPolygon(PolygonStruct *PS)
PlanInfo(const XxxFuncParseInfo* FuncParse, int ArgCount)
ArgCount - Number of arguments to this function.
virtual XxxErrCode makeMetaInfo(const MetaInfoHandle& MIHandle, XxxADTMetaInfo*& MI)
MetaInfo - Reference to the meta info.
static const char* const POLYGONFILENAME
virtual XxxErrCode getOid(const XxxADTValue *Object, XxxShoreVolumeId& VolId, XxxShoreObjectId& LocalId)
VolId - Reference to volume ID.
LocalId - Reference to object ID.
virtual XxxErrCode showDataFile(const char* FileName, ostream& OutStream, const XxxADTValue* Object, const XxxADTMetaInfo* MetaInfo)
static XxxBasicType PolygonTypeId
XxxPolygonADT(XxxBasicType Id)
virtual ~XxxPolygonADT()
virtual XxxErrCode WriteText(ostream& OutStream, const XxxADTValue* Object, const XxxADTMetaInfo *MetaInfo)
Object - Buffer containing the PolygonStruct.
MetaInfo - Meta info for polygons.
virtual XxxErrCode ReadText(istream& is, XxxADTValue* ObjectRef, const XxxADTMetaInfo* MetaInfo)
ObjectRef - Buffer in which to store the PolygonStruct.
MetaInfo - Meta info for polygons.
virtual XxxBool GetBoundingBox(const XxxADTValue *&Object, XxxBoundingBox& Box)
virtual XxxErrCode GetCompOp(const char* FuncName, XxxCompareOp& CompOp, XxxBool& Success)
this page has been generated automatically by doc++
(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de