#[unsafe(no_mangle)]pub unsafe extern "C" fn openbim_ifc_v0_1_model_resolve_unit(
model: OpenbimIfcModel,
measure_type: *const u8,
measure_len: usize,
unit: u64,
nodes: *mut OpenbimIfcValueNode,
node_capacity: usize,
out_nodes_required: *mut usize,
strings: *mut u8,
string_capacity: usize,
out_strings_required: *mut usize,
) -> OpenbimIfcStatusExpand description
The effective unit of a measure_type value (IFCAREAMEASURE, UTF-8,
measure_len bytes): unit when non-zero (a property’s stated unit),
otherwise the project default. The tape is one ResolvedUnit: unit
(REF or NULL), from project (BOOL), dimensions (LIST of seven
INTEGERs, SI exponents L M T I Θ N J), scale (REAL), offset (REAL).
InvalidValue for a type that is no measure, Unsupported,
InvalidModel, FeatureDisabled.
§Safety
measure_type valid for measure_len reads; otherwise as for
openbim_ifc_v0_1_entity_attribute.