Skip to main content

openbim_ifc_v0_1_model_georeferencing

Function openbim_ifc_v0_1_model_georeferencing 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn openbim_ifc_v0_1_model_georeferencing( model: OpenbimIfcModel, out_count: *mut usize, nodes: *mut OpenbimIfcValueNode, node_capacity: usize, out_nodes_required: *mut usize, strings: *mut u8, string_capacity: usize, out_strings_required: *mut usize, ) -> OpenbimIfcStatus
Expand description

Every coordinate operation, resolved: a LIST of MapConversion records, empty when the model has none; out_count gets their number. MapConversion: operation, kind, source, source kind, target CRS (ProjectedCrs record), eastings, northings, orthogonal height, x axis (two REALs), scale, factors (three REALs or NULL), project unit and map unit ([name, metres per unit]), map unit declared (BOOL), linear (three columns of three REALs), translation (three REALs).

IFC2X3 is read from the ePSet_MapConversion and ePSet_ProjectedCRS property sets: source kind property-set, source the IfcProject or IfcSite carrying them.

UnsupportedSchema (anything but IFC2X3, IFC4 and IFC4X3), Unsupported, InvalidModel, MissingReference, FeatureDisabled.

ยงSafety

As for openbim_ifc_v0_1_model_property_sets.