DK for ActiveX | TatukGIS_XDK11.ITGIS_Shape.GetPartType | Methods | Properties
Return the topology type of a geometry part, such as an exterior ring or interior hole.
// C# public TGIS_PartType GetPartType( int _part );
' VisualBasic Public Function GetPartType( ByVal _part As Integer ) As TGIS_PartType
// Oxygene public function GetPartType( _part : Integer ) : TGIS_PartType;
| Name | Type | Description |
|---|---|---|
| _part | int Integer | Zero-based part index. |
| Type | Description |
|---|---|
| TGIS_PartType | Part type for the specified part. Returns PartTypeUnknown for an invalid part index. |
PURPOSE: Identifies how a part should be interpreted in polygon topology, including whether a ring is an outer boundary or an interior hole.
BEHAVIOR: Returns the stored TGIS_PartType value for the requested part. This metadata is used when processing polygon rings and related topological operations.
USAGE: Use this method when inspecting polygon structure, validating ring roles, or distinguishing exterior boundaries from holes.
CONSTRAINTS: Most meaningful for polygon geometry. Invalid indexes return PartTypeUnknown. Virtual method.