![]() |
MapLink Pro 11.1.1.0.
Envitia MapLink Pro: The Ultimate Mapping Application Toolkit
|
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 () |
TSLEXBoundingPolygon & | operator= (const TSLEXBoundingPolygon &right) |
bool | insertPolygon (TSLPolygon *obj, bool assumeOwnership=true, int position=-1) |
bool | removePolygon (int position=-1) |
virtual TSLEXBoundingPolygon * | clone () 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 TSLPolygon * | polygonAt (int position) const |
TSLPolygon * | polygonAt (int position) |
![]() | |
TSLEXGeographicExtent () | |
TSLEXGeographicExtent (const TSLEXGeographicExtent &right) | |
virtual | ~TSLEXGeographicExtent ()=0 |
TSLEXGeographicExtent & | operator= (const TSLEXGeographicExtent &right) |
void | extentTypeCode (TSLBoolean input) |
bool | isKindOf (char const *className) const |
TSLBoolean | extentTypeCode () const |
Static Public Member Functions | |
static TSLEXBoundingPolygon * | isSameType (TSLEXGeographicExtent *mdGeo) |
static TSLEXBoundingPolygon const * | isSameType (TSLEXGeographicExtent const *mdGeo) |
static TSLEXBoundingPolygon * | create () |
Static Public Attributes | |
static TSLMD_RTTI | m_classInfo |
![]() | |
static TSLMD_RTTI | m_classInfo |
TSLEXBoundingPolygon::TSLEXBoundingPolygon | ( | ) |
The default constructor.
TSLEXBoundingPolygon::TSLEXBoundingPolygon | ( | const TSLEXBoundingPolygon & | right | ) |
The copy constructor.
|
virtual |
The destructor.
|
virtual |
Reimplemented from TSLEXGeographicExtent.
|
virtual |
Clone method for derived or derived from classes. Creates object on the heap, so the pointer must be deleted
Implements TSLEXGeographicExtent.
|
static |
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.
|
static |
This determines whether the supplied item is of the same type as this class.
item | A (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.
|
static |
TSLEXBoundingPolygon & TSLEXBoundingPolygon::operator= | ( | const TSLEXBoundingPolygon & | right | ) |
Assignment operator.
|
inline |
Returns the polygon attribute.
|
inline |
Returns the polygon attribute.
|
inline |
Returns the TSLPolygon * at the given position. If the given position is not in range a null pointer is returned.
|
inline |
Returns the TSLPolygon * at the given position. If the given position is not in range a null pointer is returned.
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.
|
virtual |
Reimplemented from TSLEXGeographicExtent.
|
static |