User Tools

Site Tools


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

Table of Contents

TGIS_Shape.PartLength method

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

Calculate the length of a shape part.

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

Syntax

// C#
public virtual double PartLength(
  int _part
);
' VisualBasic
Public Overridable Function PartLength(
  ByVal _part As Integer
) As Double
// Oxygene
public
  function PartLength(
    _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 map units.

Remarks

For polygons function returns length of the perimeter.

2022/11/16 01:35

Page Tools