Skip to main content

create_map_conversion_scaled

Function create_map_conversion_scaled 

Source
pub fn create_map_conversion_scaled(
    tx: &mut Transaction,
    model: &Model,
    draft: MapConversionDraft,
    factors: (f64, f64, f64),
) -> GeorefResult<EntityId>
Expand description

Stage an IfcMapConversionScaled: per-axis scale factors.

Used where the projection distorts differently along each axis, so one uniform Scale cannot describe it.

§Errors

Everything create_map_conversion refuses, plus a factor on any axis that is zero, negative or non-finite – a zero factor collapses that axis entirely, and the reader refuses all three.