pub fn cant_layout(
tx: &mut Transaction,
global_id: &str,
name: Option<&str>,
rail_head_distance: f64,
) -> Result<EntityId, AlignmentError>Expand description
Stage an IfcAlignmentCant.
rail_head_distance is the gauge the cant values are measured against.
It is mandatory on this entity, and a non-positive value would make the
cant angle meaningless, so it is checked rather than written blindly.
ยงErrors
Refuses a GlobalId that is not 22 characters, and a rail head distance
that is not finite and positive.