pub fn seam_periodic_faces(
model: &mut Model,
shape: &Shape,
tol: Tolerances,
) -> OgeomResult<(Built, usize)>Expand description
Give every seamless periodic face of a solid the seam or pole edge its chart needs to close.
Four shapes of face are repaired, each only on a cylinder, cone or sphere and only where every edge has (or, split, takes) a closed-form pcurve: a band between two rings that each go once round, a sphere’s cap bounded by one ring, a sphere’s face reaching a pole with no edge along the pole’s row, and a sphere’s face whose boundary runs along a great circle through a pole (split there, its neighbours taking the pieces). A face that resists is left as it was. Returns the solid and how many faces were repaired; a solid with none comes back as itself with an empty history.
§Errors
OgeomError::Construction if the
shape is not a solid, or the rebuilt shell does not close.