GetArcLengthClosestTo

GetArcLengthClosestTo 1:

Calculate the arc length value where the Planar Track is closest to a geometry's center point.

Syntax

Definition:

METHOD GetArcLengthClosestTo : LREAL
VAR_IN_OUT
    geometry : IPlcGeometry2D;
END_VAR

GetArcLengthClosestTo 2: In/Outputs

Name

Type

Description

geometry

IPlcGeometry2D

The geometry to check the arc length for.

GetArcLengthClosestTo 3: Return value

LREAL