Skip to main content

make_profile_revolution_band

Function make_profile_revolution_band 

Source
pub fn make_profile_revolution_band(
    model: &mut Model,
    surface: &SurfaceGeometry,
    ring_lo: &Shape,
    ring_hi: &Shape,
    tol: Tolerances,
) -> OgeomResult<Shape>
Expand description

make_revolution_band on a curve revolved a whole turn about an axis (RevolutionSurface), its rings the parallels through the profile’s two ends.

The seam is the profile turned to the column of the first ring’s vertex, on the profile’s own parameter, and each ring’s row is the profile’s end it is the parallel of. The rings must be the parallels through the profile’s ends, each a circle about the axis.

§Errors

As make_revolution_band, and OgeomError::Construction if the surface is not a whole turn of a revolution, or a ring is not the parallel through an end of its profile.