Skip to main content

transform_wire

Function transform_wire 

Source
pub fn transform_wire(
    topo: &mut Topology,
    wire_id: WireId,
    matrix: &Mat4,
) -> Result<(), OperationsError>
Expand description

Apply an affine transform to a wire, modifying vertex positions and edge curve geometry in place.

ยงErrors

Returns an error if the matrix is degenerate or a referenced entity is missing.