pub fn transform_faces(
solid: &BrepSolid,
face_points: &[Vec3],
matrix: [[f64; 4]; 3],
) -> Result<BrepSolid, KernelRefusal>Expand description
solid with the faces face_points lie on moved rigidly by the rows
[R | t] (a point x to R·x + t), the faces round them extended or trimmed
to meet them: Transform Face’s motion road (the turn and the slide solved
in one re-intersection, its acceptance, and the re-cut and re-drill roads
past a refusal). R must be a rotation (orthonormal, determinant +1).
The result is exact to the re-solve’s tolerance, max(1e-7 of the model’s scale, 1e-9): a part of the motion below it (a lift of 5e-10 riding on a slide along the face) may be read as rest. Within its envelope a whole motion below that tolerance, or a slide whose 1e-9 passes it, is refused by name; only R exactly the identity with no slide returns the body as it is.