Skip to main content

describe_profile

Function describe_profile 

Source
pub fn describe_profile(
    model: &Model,
    units: &UnitScale,
    profile: EntityId,
) -> GeometryResult<ProfileDescription>
Expand description

Read one IfcProfileDef into its family parameters, in metres and radians.

Every concrete IFC4 profile family is described, and the IFC4X3 IfcOpenCrossProfileDef. A bare IfcProfileDef and any unknown type are refused as GeometryError::Unsupported; a profile that references itself through a composite or derived chain is refused as GeometryError::CyclicChain.