MapLink Pro 11.1.1.0.
Envitia MapLink Pro: The Ultimate Mapping Application Toolkit
Loading...
Searching...
No Matches
TSLMultiPolygonPart Class Reference

Detailed Description

This class represents a part of the TSLMultiPolygon.

Public Member Functions

double area () const
 
const TSLCoordinner (int index, int &numCoords) const
 
TSLCoordSetinner (int index) const
 
int numInners () const
 
const TSLCoordouter (int &numCoords) const
 
TSLCoordSetouter () const
 
TSLPolygonpolygon () const
 

Member Function Documentation

◆ area()

double TSLMultiPolygonPart::area ( ) const

Returns the area of this TSLMultiPolygonPart.

◆ inner() [1/2]

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.

Parameters
indexIndex of inner boundary to query.
Returns
NULL if no such inner exists.

◆ inner() [2/2]

const TSLCoord * TSLMultiPolygonPart::inner ( int index,
int & numCoords ) const

Returns the coordinates associated with the given inner.

Parameters
indexindex of inner boundary to query
numCoordsreturns the number of coordinates

◆ numInners()

int TSLMultiPolygonPart::numInners ( ) const

Returns the number of inners in this TSLMultiPolygonPart.

◆ outer() [1/2]

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.

◆ outer() [2/2]

const TSLCoord * TSLMultiPolygonPart::outer ( int & numCoords) const

Returns the coordinates associated with the outer.

Parameters
numCoordsreturns the number of coordinates

◆ polygon()

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.