User Tools

Site Tools


api:dk11:net:tatukgis.ndk.tgis_shape.partlengthcs_integer

Table of Contents

TGIS_Shape.PartLengthCS method

DK11 for .NET | TatukGIS.NDK.TGIS_Shape.PartLengthCS | Constructors | Fields | Methods | Properties

Calculate the length of a shape part.

Available also on: Delphi | Java | ActiveX.

Syntax

// C#
public double PartLengthCS(
  int _part
);
' VisualBasic
Public Function PartLengthCS(
  ByVal _part As Integer
) As Double
// Oxygene
public
  function PartLengthCS(
    _part : Integer
  ) : Double; virtual;

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.

2020/05/07 01:18

Page Tools