pub fn make_band_of_rings(
model: &mut Model,
surface: &SurfaceGeometry,
ring_a: &[Shape],
ring_b: &[Shape],
tol: Tolerances,
) -> OgeomResult<Shape>Expand description
Build the face of a band between two closed rings of edges on a periodic analytic surface, joined by a synthesised seam.
make_revolution_band for rings of any number of edges, each edge a
curve with a closed-form pcurve on the surface: a notched rim of arcs and
rulings, not only a whole circle. Each ring is the edge occurrences of a
closed wire in order, the first starting on the seam’s column; a ring of
one degenerate edge stands for a pole or an apex. The first ring is
walked as given and fixes the seam’s column and which way round the band
runs; the second is walked back the other way, reversed if it was given
winding the same way, and the seam joins the two start vertices along the
surface’s iso-curve. The face is built on a fresh copy of the surface.
§Errors
OgeomError::Construction if the
surface is not a periodic analytic surface, a ring does not go once round
it, the rings’ start vertices do not share a column, an edge has no
closed-form pcurve, or the iso-curve has no closed form.