isPhysicallyClosedCurve Method

Whether the chain start and end points are defined and within tolerance.

  • Does not check for planarity or degeneracy.

isPhysicallyClosedCurve(tolerance: numberGeometry.smallMetricDistance, xyOnly: booleanfalse): boolean

Parameter Type Description
tolerance number optional distance tolerance (default is smallMetricDistance)
xyOnly boolean if true, ignore z coordinate (default is false)

Returns - boolean

Defined in

Last Updated: 02 August, 2025