Skip to main content

basis_surfaces

Function basis_surfaces 

Source
pub fn basis_surfaces(model: &Model, curve: EntityId) -> BTreeSet<EntityId>
Expand description

The surfaces curve lies on, per IfcGetBasisSurface.

Returns an empty set when the curve is not a curve-on-surface, when the file omits the surface, or when nesting exceeds the depth cap. The schema types the result SET[0:2], so emptiness is a legal answer, not an error.