fmeobjects.FMEPath.getLength

FMEPath.getLength(threeD)

Returns the length of the curve. If ‘threeD’ is True, this returns the 3D length of the curve, otherwise this returns the 2D length.

Parameters:

threeD (bool) – Whether to calculate the 2D or 3D length.

Return type:

float

Returns:

The length of the curve.