![]() |
MapLink Pro 11.2
Envitia MapLink Pro: The Ultimate Mapping Application Toolkit
|
A polyline containing geometry in Map-Units, i.e. geometry in a particular coordinate system. More...

A polyline containing geometry in Map-Units, i.e. geometry in a particular coordinate system.
Public Member Functions | |
| virtual TSLMUGeometry * | clone () |
| TSLvector< TSLMUCoord > & | getCoords () |
| void | setCoords (const TSLvector< TSLMUCoord > *newCoords) |
| 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 TSLMUPolyline * | create (const TSLvector< TSLMUCoord > *coords=NULL, TSLFeatureID featureID=TSLFeatureID_Default, const char *featureName=NULL) |
Protected Member Functions | |
| TSLMUPolyline (const TSLvector< TSLMUCoord > *coords=NULL, TSLFeatureID featureID=TSLFeatureID_Default, const char *featureName=NULL) | |
| TSLMUPolyline (const TSLMUPolyline &other) | |
| Copy constructor. | |
| virtual | ~TSLMUPolyline () |
| Destructor. | |
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 |
Constructor
| coords | Initial geometry for the line. TSLMUPolyline does not take ownership of this list |
| featureID | The feature ID |
| featureName | The feature name |
|
protected |
Copy constructor.
|
protectedvirtual |
Destructor.
|
virtual |
Calculate the extent of this geometry
| extent | Will be set to the calculated extent. |
Implements TSLMUGeometry.
|
virtual |
Create a clone of this geometry
Implements TSLMUGeometry.
|
static |
Constructor
| coords | Initial geometry for the line. TSLMUPolyline does not take ownership of this list |
| featureID | The feature ID |
| featureName | The feature name |
| TSLvector< TSLMUCoord > & TSLMUPolyline::getCoords | ( | ) |
Query the geometry of this polyline
This list may be modified by the application to edit the geometry of this line No validation will be performed on these coordinates.
| void TSLMUPolyline::setCoords | ( | const TSLvector< TSLMUCoord > * | newCoords | ) |
Set the geometry of this polyline
| newCoords | The new geometry for the polyline. TSLMUPolyline does not take ownership of this list |