DK for ActiveX | TatukGIS_XDK11.ITGIS_Shape.AddPoint3D | Methods | Properties
Adds a 3D vertex to the current part of the shape.
// C# public void AddPoint3D( ITGIS_Point3D _ptg );
' VisualBasic Public Sub AddPoint3D( ByVal _ptg As ITGIS_Point3D )
// Oxygene public procedure AddPoint3D( _ptg : ITGIS_Point3D );
| Name | Type | Description |
|---|---|---|
| _ptg | ITGIS_Point3D | Point coordinates with X, Y, Z, and optional M values. |
PURPOSE: Appends a 3D vertex when constructing or editing elevation-aware geometry.
BEHAVIOR: Adds the specified point to the active part of the shape. For 3D shapes, the coordinate is appended in 3D and shape-specific rules are applied by derived classes. For 2D shapes, the value is converted to XY and passed to AddPoint.
USAGE: Add 3D vertices when building a surface or other 3D geometry part.
shp.AddPart() shp.SetPartType(0, TGIS_PartType.TriangleFan) shp.AddPoint3D(TGIS_Utils.GisPoint3D(5, 4, 10)) shp.AddPoint3D(TGIS_Utils.GisPoint3D(0, 0, 5)) shp.AddPoint3D(TGIS_Utils.GisPoint3D(10, 0, 5))
CONSTRAINTS: Abstract method implemented by derived shape classes.
Adds a new 3D (X,Y,Z,M) point value, specified as TGIS_Point record value, to a specific part of the shape. The new point is added at the end of specified part of the shape.