User Tools

Site Tools


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

Table of Contents

TGIS_ShapePolygon.PartLengthCS method

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

Calculate the length of a shape part.

Available also on: Delphi | .NET.

Overrides TGIS_Shape.PartLengthCS.

Syntax

// Java
public double PartLengthCS(
  int _part
);
// Oxygene
public
  function PartLengthCS(
    _part : Integer
  ) : Double; override;

Parameters

Name Type Description
_part int
Integer
number of the part closest to a given point

Result

Type Description
double
Double
Part length in meters (or -1 if map units if CS is not defined).

Remarks

For polygons function returns length of the perimeter.

2019/02/08 01:25

Page Tools