Edge.points()
July 1, 2026 ยท View on GitHub
Returns the edge polyline as { x, y, z } points, optionally in world space.
Usage
const pts = edge.points(true);
Signature
edge.points(applyWorld = true)
Parameters
applyWorld(boolean, defaulttrue) - Applyedge.matrixWorldto each polyline point before returning it.
Returns
Array<{ x: number, y: number, z: number }> - Edge polyline points.
Pass false to read local polyline coordinates.