MapLink Pro 11.1.1.0.
Envitia MapLink Pro: The Ultimate Mapping Application Toolkit
Loading...
Searching...
No Matches
Inheritance diagram for TSLEXBoundingPolygon:

Detailed Description

Boundary enclosing the dataset expressed as the closed set of (x,y) coordinates of the polygon (last point replicates first point).

Note: the current implementation uses a TSLPolygon to represent the polygonal data. Since the coordinates (TSLCoord) of a TSLPolygon are implemented using long's the (latitude, longtitude) coordinates of a TSLEXBoundingPolygon must be scaled using a multiplication factor. This multiplication factor is given by the constant TSLEXBOUNDINGPOLYGON_COORD_ MULT_FACTOR; the value of this constant is currently set to 1000000 and therefore provides a resolution greater than one hundredth of a second.

Public Member Functions

 TSLEXBoundingPolygon ()
 
 TSLEXBoundingPolygon (const TSLEXBoundingPolygon &right)
 
virtual ~TSLEXBoundingPolygon ()
 
TSLEXBoundingPolygonoperator= (const TSLEXBoundingPolygon &right)
 
bool insertPolygon (TSLPolygon *obj, bool assumeOwnership=true, int position=-1)
 
bool removePolygon (int position=-1)
 
virtual TSLEXBoundingPolygonclone () const
 
virtual TSLMD_RTTI const * classInfo () const
 
virtual bool serialize (void *outputStreamOfXML, int indentation=-1, bool isRootHandler=true) const
 
const TSLMDCollection< TSLPolygon * > & polygon () const
 
TSLMDCollection< TSLPolygon * > & polygon ()
 
const TSLPolygonpolygonAt (int position) const
 
TSLPolygonpolygonAt (int position)
 
- Public Member Functions inherited from TSLEXGeographicExtent
 TSLEXGeographicExtent ()
 
 TSLEXGeographicExtent (const TSLEXGeographicExtent &right)
 
virtual ~TSLEXGeographicExtent ()=0
 
TSLEXGeographicExtentoperator= (const TSLEXGeographicExtent &right)
 
void extentTypeCode (TSLBoolean input)
 
bool isKindOf (char const *className) const
 
TSLBoolean extentTypeCode () const
 

Static Public Member Functions

static TSLEXBoundingPolygonisSameType (TSLEXGeographicExtent *mdGeo)
 
static TSLEXBoundingPolygon const * isSameType (TSLEXGeographicExtent const *mdGeo)
 
static TSLEXBoundingPolygoncreate ()
 

Static Public Attributes

static TSLMD_RTTI m_classInfo
 
- Static Public Attributes inherited from TSLEXGeographicExtent
static TSLMD_RTTI m_classInfo
 

Constructor & Destructor Documentation

◆ TSLEXBoundingPolygon() [1/2]

TSLEXBoundingPolygon::TSLEXBoundingPolygon ( )

The default constructor.

◆ TSLEXBoundingPolygon() [2/2]

TSLEXBoundingPolygon::TSLEXBoundingPolygon ( const TSLEXBoundingPolygon & right)

The copy constructor.

◆ ~TSLEXBoundingPolygon()

virtual TSLEXBoundingPolygon::~TSLEXBoundingPolygon ( )
virtual

The destructor.

Member Function Documentation

◆ classInfo()

virtual TSLMD_RTTI const * TSLEXBoundingPolygon::classInfo ( ) const
virtual

Reimplemented from TSLEXGeographicExtent.

◆ clone()

virtual TSLEXBoundingPolygon * TSLEXBoundingPolygon::clone ( ) const
virtual

Clone method for derived or derived from classes. Creates object on the heap, so the pointer must be deleted

Implements TSLEXGeographicExtent.

◆ create()

static TSLEXBoundingPolygon * TSLEXBoundingPolygon::create ( )
static

◆ insertPolygon()

bool TSLEXBoundingPolygon::insertPolygon ( TSLPolygon * obj,
bool assumeOwnership = true,
int position = -1 )

Inserts the given TSLPolygon * at the given position. If the given position is not provided or is not in range, the TSLPolygon * is appended.

◆ isSameType() [1/2]

static TSLEXBoundingPolygon * TSLEXBoundingPolygon::isSameType ( TSLEXGeographicExtent * mdGeo)
static

This determines whether the supplied item is of the same type as this class.

Parameters
itemA (const) pointer to a generic item.

If the item is of the same type as this class, then return the item cast to the correct type, otherwise return 0.

◆ isSameType() [2/2]

static TSLEXBoundingPolygon const * TSLEXBoundingPolygon::isSameType ( TSLEXGeographicExtent const * mdGeo)
static

◆ operator=()

TSLEXBoundingPolygon & TSLEXBoundingPolygon::operator= ( const TSLEXBoundingPolygon & right)

Assignment operator.

◆ polygon() [1/2]

TSLMDCollection< TSLPolygon * > & TSLEXBoundingPolygon::polygon ( )
inline

Returns the polygon attribute.

◆ polygon() [2/2]

const TSLMDCollection< TSLPolygon * > & TSLEXBoundingPolygon::polygon ( ) const
inline

Returns the polygon attribute.

◆ polygonAt() [1/2]

TSLPolygon * TSLEXBoundingPolygon::polygonAt ( int position)
inline

Returns the TSLPolygon * at the given position. If the given position is not in range a null pointer is returned.

◆ polygonAt() [2/2]

const TSLPolygon * TSLEXBoundingPolygon::polygonAt ( int position) const
inline

Returns the TSLPolygon * at the given position. If the given position is not in range a null pointer is returned.

◆ removePolygon()

bool TSLEXBoundingPolygon::removePolygon ( int position = -1)

Removes a TSLPolygon * from the given position. If the given position is not provided or is not in range, the last TSLPolygon * is removed.

◆ serialize()

virtual bool TSLEXBoundingPolygon::serialize ( void * outputStreamOfXML,
int indentation = -1,
bool isRootHandler = true ) const
virtual

Reimplemented from TSLEXGeographicExtent.

Member Data Documentation

◆ m_classInfo

TSLMD_RTTI TSLEXBoundingPolygon::m_classInfo
static