Skip to main content

create_angular_rigid_operation

Function create_angular_rigid_operation 

Source
pub fn create_angular_rigid_operation(
    tx: &mut Transaction,
    source_crs: EntityId,
    target_crs: EntityId,
    coordinates: (f64, f64),
    height: Option<f64>,
) -> GeorefResult<EntityId>
Expand description

Stage an IFC4X3 IfcRigidOperation with plane-angle coordinates, an offset of latitude and longitude on an IfcGeographicCRS.

Both coordinates are written as IFCPLANEANGLEMEASURE(..), the other SameCoordinateType branch; height stays an IfcLengthMeasure. Read it back with crate::resolve_geographic_offset_in.

ยงErrors

Refuses a non-finite coordinate or height.