Skip to main content

geometric_products

Function geometric_products 

Source
pub fn geometric_products(model: &Model) -> Vec<EntityId>
Expand description

Products in the model that carry geometry, in stable id order.

Kernel-free on purpose: asking which entities have a shape is a slot read, so this answers the same under --no-default-features as it does with the full kernel linked. tests/kernel_free_build.rs holds that line.

IfcProduct is abstract with hundreds of subtypes, so enumerating names would rot. A product is recognised structurally instead: it has a Representation in slot 6 pointing at an IfcProductRepresentation.