pub fn center_line_profile(
tx: &mut Transaction,
name: Option<&str>,
curve: EntityId,
thickness: f64,
) -> Result<EntityId, GeometryError>Expand description
Stage an IfcCenterLineProfileDef.
The one open profile that is an area: the curve is a centreline
and thickness gives it width, so the profile encloses a region
after all. That is why the schema’s AREA prohibition on open
profiles exempts this subtype.
§Errors
Refuses a non-positive or non-finite thickness.