![]() |
MapLink Pro 11.1.1.0.
Envitia MapLink Pro: The Ultimate Mapping Application Toolkit
|
This class represents a part of the TSLMultiPolygon.
Public Member Functions | |
double | area () const |
const TSLCoord * | inner (int index, int &numCoords) const |
TSLCoordSet * | inner (int index) const |
int | numInners () const |
const TSLCoord * | outer (int &numCoords) const |
TSLCoordSet * | outer () const |
TSLPolygon * | polygon () const |
double TSLMultiPolygonPart::area | ( | ) | const |
Returns the area of this TSLMultiPolygonPart.
TSLCoordSet * TSLMultiPolygonPart::inner | ( | int | index | ) | const |
Query the coordinates of the inner boundary at the specified index.
Note that the coordset returned is a copy of the internal version and is owned by the caller.
index | Index of inner boundary to query. |
const TSLCoord * TSLMultiPolygonPart::inner | ( | int | index, |
int & | numCoords ) const |
Returns the coordinates associated with the given inner.
index | index of inner boundary to query |
numCoords | returns the number of coordinates |
int TSLMultiPolygonPart::numInners | ( | ) | const |
Returns the number of inners in this TSLMultiPolygonPart.
TSLCoordSet * TSLMultiPolygonPart::outer | ( | ) | const |
Returns a pointer to a coordinate set describing the outer.
Note that the coordset returned is a copy of the internal version and is owned by the caller.
const TSLCoord * TSLMultiPolygonPart::outer | ( | int & | numCoords | ) | const |
Returns the coordinates associated with the outer.
numCoords | returns the number of coordinates |
TSLPolygon * TSLMultiPolygonPart::polygon | ( | ) | const |
Returns the TSLPolygon associated with this TSLMultiPolygonPart.
Note that the polygon returned is a copy of the internal version and is owned by the caller.
Note also that the feature id of the returned TSLPolygon will always be zero.