DK for ActiveX | TatukGIS_XDK11.ITGIS_Shape.ChangeWinding | Methods | Properties
Reverses the vertex order of a specified shape part or polygon ring.
// C# public void ChangeWinding( int _part );
' VisualBasic Public Sub ChangeWinding( ByVal _part As Integer )
// Oxygene public procedure ChangeWinding( _part : Integer );
| Name | Type | Description |
|---|---|---|
| _part | int Integer | Zero-based part index to reverse. |
PURPOSE: Changes ring or part orientation when geometry must match a required winding order for polygon processing, topology repair, or external format compatibility.
BEHAVIOR: Reorders the vertices in the selected part so the traversal direction is reversed while preserving the same coordinates and part membership.
CONSTRAINTS: The specified part must exist. The operation modifies the shape in place.