pub fn site_reference(
model: &Model,
site: EntityId,
project_metres_per_unit: f64,
) -> GeorefResult<SiteReference>Expand description
Read the reference point of the IfcSite site.
project_metres_per_unit is the project’s IfcUnitAssignment length
scale, explicit as for crate::resolve_project_to_map: RefElevation
is an IfcLengthMeasure in the project length unit.
The release is bound from the header: IFC2X3, IFC4 and IFC4X3 are read;
a missing, ambiguous or other schema is refused with the crate’s schema
errors. Every absent attribute is None, never a default.