#[non_exhaustive]pub struct ProfileDescription {
pub entity: EntityId,
pub type_name: String,
pub name: Option<String>,
pub position: Option<ProfilePosition>,
pub parameters: ProfileParameters,
}Expand description
One IfcProfileDef, resolved into its family parameters.
Produced by super::describe_profile. lower::profile builds its exact
neutral profile from this value, so the numbers a rule check reads are the
numbers the kernel receives.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.entity: EntityIdThe IfcProfileDef entity.
type_name: StringIts concrete IFC type in upper case, e.g. IFCISHAPEPROFILEDEF.
name: Option<String>ProfileName, often a catalogue designation such as HEA300.
position: Option<ProfilePosition>IfcParameterizedProfileDef.Position, in metres.
None when the file omits it (the identity) and for the families
that have no such attribute (arbitrary, composite, derived).
parameters: ProfileParametersThe family and its parameters.
Implementations§
Source§impl ProfileDescription
impl ProfileDescription
Sourcepub fn bounds_area(&self) -> bool
pub fn bounds_area(&self) -> bool
Does this profile bound an area?
false when the profile, or any member or parent it is built from, is
an IfcArbitraryOpenProfileDef. An open curve bounds nothing, so it
cannot be the cross section of a swept solid.