DK for ActiveX | TatukGIS_XDK11.IGIS_Editor.InsertPoint | Methods | Properties
Insert a point to the current part of the currently edited shape.
// C# public void InsertPoint( int _pos, ITGIS_Point3D _ptg );
' VisualBasic Public Sub InsertPoint( ByVal _pos As Integer, ByVal _ptg As ITGIS_Point3D )
// Oxygene public procedure InsertPoint( _pos : Integer; _ptg : ITGIS_Point3D );
Name | Type | Description |
---|---|---|
_pos | int Integer | where point must be inserted; points are counted from 0 |
_ptg | ITGIS_Point3D | point to be inserted; expected Viewer coordinate system |
This is similar to AddPoint except inserting position. Using _pos param we can choose a destination part to which we insert a new point.
The numbering of points is consistent with the numbering of points displayed on the screen.
See TGIS_Shape.Reverse for similar example.