Includes the closing edge and measures Euclidean length in polygon units. An empty ring returns Infinity; repeated consecutive finite corners and a one-point ring return zero. Coordinate subtraction or a non-representable final length can still overflow despite Math.hypot's scaled evaluation.
The shortest edge length of a closed polygon.
Includes the closing edge and measures Euclidean length in polygon units. An empty ring returns
Infinity; repeated consecutive finite corners and a one-point ring return zero. Coordinate subtraction or a non-representable final length can still overflow despiteMath.hypot's scaled evaluation.