User Tools

Site Tools


api:dk11:activex:tatukgis_xdk11.itgis_shape.changewinding_integer

Table of Contents

ITGIS_Shape.ChangeWinding method

DK for ActiveX | TatukGIS_XDK11.ITGIS_Shape.ChangeWinding | Methods | Properties

Reverses the vertex order of a specified shape part or polygon ring.

Available also on: Delphi | .NET | Java | Python.

Syntax

// C#
public void ChangeWinding(
  int _part
);
' VisualBasic
Public Sub ChangeWinding(
  ByVal _part As Integer
)
// Oxygene
public
  procedure ChangeWinding(
    _part : Integer
  );

Parameters

Name Type Description
_part int
Integer
Zero-based part index to reverse.

Remarks

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.

2026/07/05 01:25

Page Tools