User Tools

Site Tools


api:dk11:delphi:gislayervector.tgis_shapepolygon.partlengthcs_integer

Table of Contents

TGIS_ShapePolygon.PartLengthCS method

DK11 for Delphi | GisLayerVector.TGIS_ShapePolygon.PartLengthCS | Constructors | Fields | Methods | Properties

Calculate the length of a shape part.

Available also on: .NET | Java.

Syntax

Overrides TGIS_Shape.PartLengthCS.

// Delphi
public
  function PartLengthCS(
    const _part : Integer
  ) : Double; override;
// C++ Builder
public:
  virtual double PartLengthCS(
    const int _part
  );

Parameters

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

Result

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

Remarks

For polygons function returns length of the perimeter.

2020/05/07 01:09

Page Tools