Edge.length()
Measures the total edge polyline length in world space.
Usage
javascript
const len = edge.length();This prefers the stored polyline payload from visualize() and falls back to geometry positions when needed.