User Tools

Site Tools


api:dk11:java:tatukgis.jdk.tgis_shapepolygon.addpoint_tgis_point

Table of Contents

TGIS_ShapePolygon.AddPoint method

DK11 for Java | tatukgis.jdk.TGIS_ShapePolygon.AddPoint | Constructors | Fields | Methods | Properties

Add a point to the last part of the shape.

Available also on: Delphi | .NET.

Overrides TGIS_Shape.AddPoint.

Syntax

// Java
public void AddPoint(
  TGIS_Point _ptg
);
// Oxygene
public
  procedure AddPoint(
    _ptg : TGIS_Point
  ); override;

Parameters

Name Type Description
_ptg TGIS_Point point to be added

Remarks

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.

2020/05/07 01:14

Page Tools