MapWinGeoProc:Utils GetPartBounds
From MapWindow GIS
GetPartBounds
Syntax
MapWinGeoProc.Utils.PartBounds GetPartBounds(MapWinGIS.Shape polygon, int PartIndex)
Summary
This function verifies that PartIndex references a valid part in 'polygon'
and returns a structure containing the integer part index, beginning point
index for and ending point index for the part specified by PartIndex. It also
tests polygon to make sure that it is not null and is a polygon shapetype.
Parameters
| polygon | A MapWinGIS.Shape of POLYGON/POLYGONZ/POLYGONM type. |
| PartIndex | The integer part index to determine the first and last point index of. |
Returns
A PartBounds structure defined in this class that contains the part
index, the beginning point index and end point index included in the part.
Visual Basic Net 2005 Example Implementation Code
Visual C# 2005 Example Implementation Code
Back to Utils
















