pub fn offset_wire(
topo: &mut Topology,
face_id: FaceId,
distance: f64,
) -> Result<WireId, OperationsError>Expand description
Offset a planar wire by a given distance.
Positive distance offsets outward (away from interior), negative
offsets inward. The wire must be closed and lie on a planar face.
Returns a new WireId for the offset wire.
This is a convenience wrapper that calls offset_wire_with_join
with JoinType::Intersection.
ยงErrors
Returns an error if the wire is not closed, the face is not planar, or offset produces degenerate geometry.