User Tools

Site Tools


Table of Contents

TGIS_Shape.AddPoint3D method

DK11 for Delphi | GisLayerVector.TGIS_Shape.AddPoint3D | Constructors | Fields | Methods | Properties

Add a point to the last part of the shape in 3D.

Available also on: .NET | Java | ActiveX.


// Delphi
  procedure AddPoint3D(
    const _ptg : TGIS_Point3D
  ); virtual; abstract;
// C++ Builder
  virtual void AddPoint3D(
    TGIS_Point3D* const _ptg
  ) = 0;


Name Type Description
_ptg TGIS_Point3D 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 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.


2020/05/07 01:09

Page Tools