Assemble edges into a wire and verify it forms a closed loop.
Combines wire + the closedWire smart constructor in a single step. Returns an error if the edges cannot be assembled or the wire is not closed.
closedWire
const cw = unwrap(wireLoop([e1, e2, e3, e4]));const f = unwrap(face(cw)); // ClosedWire accepted directly Copy
const cw = unwrap(wireLoop([e1, e2, e3, e4]));const f = unwrap(face(cw)); // ClosedWire accepted directly
Assemble edges into a wire and verify it forms a closed loop.
Combines wire + the
closedWiresmart constructor in a single step. Returns an error if the edges cannot be assembled or the wire is not closed.