pub fn revolve_profile_exact(
profile: &Profile,
axis_origin: Point3,
axis_direction: Vec3,
angle: Scalar,
tolerance: Tolerance,
) -> GeomResult<ExactBRep>Expand description
Revolve a supported profile into an exact, closed analytic B-rep.
Supported: a sharp filled rectangle, revolved a full turn about an axis parallel to the profile’s local y and offset from it, so the profile does not cross the axis. The result is an annular tube of two cylinders and two annular planar caps.
Every other case – partial turns, profiles crossing the axis, rounded or hollow rectangles, other profile families – returns a typed refusal.