Available also on: Delphi | .NET | Java | ActiveX.
Raw internal storage of shape parts (SHP format compatible). Direct access to geometry part definitions for performance-critical operations.
# Python @property def Parts( self ) -> Pointer:
| Type |
|---|
| Pointer |
PURPOSE:Fast access to part boundaries for bulk geometry operations, spatial indexing, and format export (Shapefile, GeoDatabase). Avoids iteration overhead.
BEHAVIOR:Binary buffer containing part indices (start positions of each shape part). SHP-compatible format (4-byte integers, big-endian or host-order per platform). Managed/TBytes on .NET, raw Pointer on Delphi.
USAGE:Iterate parts:for i := 0 to PartCount-1 do PartStart := Parts[i];Export geometry:exportStream. WriteBytes(Parts, PartsSize);
CONSTRAINTS:Raw buffer (no bounds checking). Internal format (modification breaks geometry). Size in bytes via PartsSize. Lifetime: shape owns buffer, freed on destruction.