pub fn toroidal_surface(
tx: &mut Transaction,
position: EntityId,
major_radius: f64,
minor_radius: f64,
) -> Result<EntityId, GeometryError>Expand description
Stage an IfcToroidalSurface.
major_radius runs from the axis to the centre of the tube;
minor_radius is the tube itself. The schema types both as positive
lengths and does not relate them: a minor radius exceeding the major
one gives a self-intersecting spindle torus, which is unusual but
legal, so it is not refused here.
ยงErrors
Refuses a non-positive or non-finite radius.