pub fn face_hull(model: &Model, faces: &[FaceId]) -> GeopResult<Vec<Vector3>>Expand description
Points whose convex hull holds faces: the control points of their
surfaces, each restricted to the box in (u, v) around its face’s outer
loop — a NURBS surface lies within the hull of its control points, and
a face within the box around its outer loop — enclosed, for sizing a
tool that has to reach past them, and for telling which side of a line
they lie on, which for a solid touching the line is decided by their
enclosures, not by their midpoints.
The restriction matters where a face is a small part of its surface: a
shell’s floor is a disc of radius 36 on a patch of 240 square, and the
patch’s corners stood far out to every side of an axis the cup only
touched (see mug_handle_turned_up_to_next_around_the_cup_seam in
geop-ops-extrude-revolve).