![]()  | 
  
    MapLink Pro 11.2
    
   Envitia MapLink Pro: The Ultimate Mapping Application Toolkit 
   | 
 
A set of Map-Unit based geometry. More...

A set of Map-Unit based geometry.
Public Member Functions | |
| virtual TSLMUGeometry * | clone () | 
| unsigned int | size () const | 
| void | clear () | 
| const TSLMUGeometry * | at (unsigned int index) const | 
| TSLMUGeometry * | at (unsigned int index) | 
| const TSLMUGeometry * | operator[] (unsigned int index) const | 
| TSLMUGeometry * | operator[] (unsigned int index) | 
| void | append (TSLMUGeometry *geom) | 
| void | insert (TSLMUGeometry *geom, unsigned int index) | 
| bool | erase (unsigned int index) | 
| virtual bool | calculateExtent (TSLMUExtent &extent) const | 
  Public Member Functions inherited from TSLMUGeometry | |
| void | destroy () | 
| Destructor.   | |
| TSLMUGeometry::GeometryType | type () const | 
| TSLFeatureID | featureID () const | 
| void | featureID (TSLFeatureID id) | 
| const char * | featureName () const | 
| void | featureName (const char *name) | 
| unsigned int | numAttributes () const | 
| bool | getAttribute (unsigned int index, TSLSimpleString *attributeName, TSLSimpleString *attributeValue) | 
| const char * | getAttribute (const char *attributeName) const | 
| void | setAttribute (const char *attributeName, const char *attributeValue) | 
| void | clearAttribute (const char *attributeName) | 
| void | clearAttributes () | 
| Clear all attributes.   | |
| void | rotation (double rot) | 
| double | rotation () const | 
Static Public Member Functions | |
| static TSLMUGeometrySet * | create () | 
| Constructor.   | |
Protected Member Functions | |
| TSLMUGeometrySet () | |
| TSLMUGeometrySet (const TSLMUGeometrySet &other) | |
| virtual | ~TSLMUGeometrySet () | 
  Protected Member Functions inherited from TSLMUGeometry | |
| TSLMUGeometry (TSLMUGeometry::GeometryType type, TSLFeatureID featureID=TSLFeatureID_Default, const char *featureName=NULL) | |
| TSLMUGeometry (const TSLMUGeometry &other) | |
| virtual | ~TSLMUGeometry () | 
Additional Inherited Members | |
  Public Types inherited from TSLMUGeometry | |
| enum | GeometryType {  GeometryTypeNone , GeometryTypeSet , GeometryTypePoint , GeometryTypePolyline , GeometryTypePolygon }  | 
| This enum represents the type of a given TSLMUGeometry instance.  More... | |
      
  | 
  protected | 
      
  | 
  protected | 
      
  | 
  protectedvirtual | 
| void TSLMUGeometrySet::append | ( | TSLMUGeometry * | geom | ) | 
Add geometry to the set
| geom | The geometry to add. TSLMUGeometrySet will take ownership of this object. | 
| TSLMUGeometry * TSLMUGeometrySet::at | ( | unsigned int | index | ) | 
Query the geometry at index
| index | The index to query | 
| const TSLMUGeometry * TSLMUGeometrySet::at | ( | unsigned int | index | ) | const | 
Query the geometry at index
| index | The index to query | 
      
  | 
  virtual | 
Calculate the extent of this geometry
| extent | Will be set to the calculated extent. | 
Implements TSLMUGeometry.
| void TSLMUGeometrySet::clear | ( | ) | 
Clear the set
All geometries contained within this set will be deleted
      
  | 
  virtual | 
Create a clone of this geometry This will create a copy of the geometry set, and all geometry contained within it
Implements TSLMUGeometry.
      
  | 
  static | 
Constructor.
| bool TSLMUGeometrySet::erase | ( | unsigned int | index | ) | 
Erase geometry from the set
| index | The index of the geometry to erase | 
| void TSLMUGeometrySet::insert | ( | TSLMUGeometry * | geom, | 
| unsigned int | index ) | 
Add geometry to the set at the specified index
| geom | The geometry to add. TSLMUGeometrySet will take ownership of this object. | 
| index | The index to insert the geometry at. | 
| TSLMUGeometry * TSLMUGeometrySet::operator[] | ( | unsigned int | index | ) | 
Array operator
| index | The index to query | 
| const TSLMUGeometry * TSLMUGeometrySet::operator[] | ( | unsigned int | index | ) | const | 
Array operator
| index | The index to query | 
| unsigned int TSLMUGeometrySet::size | ( | ) | const | 
Query the size of the geometry set