Available also on: Delphi | .NET | Java | ActiveX.
Create an empty shape instance with the specified coordinate dimension type.
# Python def __init__( self, _dim: TGIS_DimensionType ) -> None:
| Name | Type | Description |
|---|---|---|
| _dim | TGIS_DimensionType | Coordinate dimension type for the shape geometry, such as XY, XYZ, XYM, or XYZM. |
TGIS_LayerVector.CreateShape is recommended instead.PURPOSE: Initialize a new empty shape object with explicit geometry dimensionality.
BEHAVIOR: Creates the shape with default state, no source shape, no geometry buffer, no layer, and the requested dimension type.
CONSTRAINTS: This constructor is primarily intended for internal or advanced use. The selected dimension type should match the intended geometry representation.