User Tools

Site Tools


api:dk11:python:tatukgis.pdk.tgis_shape.partlengthcs_integer

Table of Contents

TGIS_Shape.PartLengthCS method

DK11 for Python | tatukgis.pdk.TGIS_Shape.PartLengthCS | Constructors | Methods | Properties

Calculate the length of a shape part.

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

Syntax

# Python
def PartLengthCS(
  self,
  _part: int
) -> float: 

Parameters

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

Result

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

Remarks

For polygons function returns length of the perimeter.

2023/08/09 01:59

Page Tools