Skip to main content

lower_torus

Function lower_torus 

Source
pub fn lower_torus(
    session: &mut LoweringSession<'_>,
    id: EntityId,
    frame: Transform,
) -> GeometryResult<NodeId>
Expand description

Lower an IfcToroidalSurface into a kernel torus.

Both radii are lengths. A torus with minor >= major self-intersects into a spindle; that is legal IFC and the reader exposes it, so it is preserved rather than rejected – discarding it would silently change the shape.