Edge.length()

July 1, 2026 ยท View on GitHub

Measures the total edge polyline length in world space.

Usage

const len = edge.length();

Signature

edge.length()

Parameters

None.

Returns

number - Total polyline length in world-space units.

This prefers the stored polyline payload from visualize() and falls back to geometry positions when needed.