User Tools

Site Tools


api:dk11:delphi:giseditor.tgis_editor.insertpoint_integer_tgis_point3d

Table of Contents

TGIS_Editor.InsertPoint method

DK11 for Delphi | GisEditor.TGIS_Editor.InsertPoint | Constructors | Methods | Properties | Events

Insert a point to the current part of the currently edited shape.

Available also on: .NET | Java | ActiveX.

Syntax

Implements IGIS_Editor.InsertPoint.

// Delphi
public
  procedure InsertPoint(
    const _pos : Integer;
    const _ptg : TGIS_Point3D
  );
// C++ Builder
public:
  void InsertPoint(
    const int _pos,
    TGIS_Point3D* const _ptg
  );

Parameters

Name Type Description
_pos Integer where point must be inserted; points are counted from 1
_ptg TGIS_Point3D point to be inserted; expected Viewer coordinate system

Remarks

This is similar to AddPoint except inserting position. Using _pos param we can choose a destination part to which we insert a new point.

See TGIS_Shape.Reverse for similar example.

2020/05/07 01:07

Page Tools