User Tools

Site Tools


api:dk11:java:tatukgis.jdk.igis_editor.insertpoint_integer_tgis_point3d

Table of Contents

IGIS_Editor.InsertPoint method

DK for Java | tatukgis.jdk.IGIS_Editor.InsertPoint | Methods | Properties

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

Available also on: Delphi | .NET | ActiveX | Python.

Syntax

// Java
public abstract void InsertPoint(
  int _pos,
  TGIS_Point3D _ptg
);
// Oxygene
public
  procedure InsertPoint(
    _pos : Integer;
    _ptg : TGIS_Point3D
  );

Parameters

Name Type Description
_pos int
Integer
where point must be inserted; points are counted from 0
_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.

The numbering of points is consistent with the numbering of points displayed on the screen.

See TGIS_Shape.Reverse for similar example.

2025/01/31 01:18

Page Tools