DK for Delphi | GisLayerVector.TGIS_Shape.AddPoint | Constructors | Fields | Methods | Properties
Adds a 2D vertex to the current part of the shape.
// Delphi public procedure AddPoint( const _ptg : TGIS_Point ); virtual; abstract;
// C++ Builder public: virtual void AddPoint( TGIS_Point* const _ptg ) = 0;
| Name | Type | Description |
|---|---|---|
| _ptg | TGIS_Point | point coordinates in the layer coordinate space |
PURPOSE: Appends a vertex when constructing or editing point, line, or polygon geometry.
BEHAVIOR: Adds the specified XY coordinate to the active part of the shape. Concrete shape classes implement the geometry- specific rules for accepting the point.
CONSTRAINTS: Abstract method implemented by derived shape classes.
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