DK11 for .NET | TatukGIS.NDK.TGIS_Shape.AddPoint | Constructors | Fields | Methods | Properties
Add a point to the last part of the shape.
// C# public virtual abstract void AddPoint( TGIS_Point _ptg );
' VisualBasic Public Overridable MustOverride Sub AddPoint( ByVal _ptg As TGIS_Point )
// Oxygene public procedure AddPoint( _ptg : TGIS_Point ); virtual; abstract;
Name | Type | Description |
---|---|---|
_ptg | TGIS_Point | point to be added |
Internal representation of a shape is the same as in the SHP file. If you want to set a new geometry, this will call Reset, AddPart, AddPoint...AddPoint. For TGIS_ShapePoint, only one Part and one Point is allowed.
See TGIS_Shape.Lock for details and example.
Adds a new 2D (X,Y) 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