DK for .NET | TatukGIS.NDK.TGIS_Shape.Create | Overloads | Constructors | Fields | Methods | Properties
Create an empty shape instance with the specified coordinate dimension type.
// C# public virtual TGIS_Shape( TGIS_DimensionType _dim );
' VisualBasic Public Overridable Sub New( ByVal _dim As TGIS_DimensionType )
// Oxygene public constructor ( _dim : TGIS_DimensionType ); virtual;
| 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.
This is a simple procedure showing how to add a shape to the layer.