pub fn face_from_surface(
surface: &NurbsSurface,
) -> Result<BrepSolid, KernelRefusal>Expand description
A sheet of one face on surface over its whole domain, its normal the
surface’s own (∂S/∂u × ∂S/∂v).
Each side of the domain is read from the surface: a side collapsed to a
point is a pole (a degenerate edge), two opposite sides that coincide are
one seam edge, and every other side is an open edge. So a clamped patch
gives a face with four open edges, a tube’s side a face with a seam and two
open rims, and a ball or a ring a closed face, which solid_from_sheets
takes alone.
Refuses a surface that is a point or a curve (two adjacent sides collapsed, or a side collapsed whose neighbours coincide all along).