pub fn resolve_property_set_georeferencing(
model: &Model,
project_metres_per_unit: f64,
) -> GeorefResult<Vec<ProjectToMap>>Expand description
Every IFC2X3 property-set georeferencing of model, resolved to
project-to-map parameters: one for the IfcProject, or else one per
IfcSite carrying the sets, in ascending host id.
project_metres_per_unit is the project’s IfcUnitAssignment length
scale, as for crate::resolve_project_to_map. In the result,
ProjectToMap::source is OperationSource::PropertySet naming the
host, ProjectToMap::operation is the ePSet_MapConversion set,
ProjectedCrs::entity the ePSet_ProjectedCRS set, and the kind is
OperationKind::MapConversion. A model with neither set yields an
empty list. See the module documentation for the source, the rules
where the guide is silent and the precedence over IFC4 entities.
§Errors
GeorefError::MissingSchema, GeorefError::AmbiguousSchema or
GeorefError::UnsupportedSchema unless the header declares exactly
IFC2X3 (and this build links its table); GeorefError::InvalidUnit
for a non-positive or non-finite project scale or an unusable
MapUnit; and the property-set refusals listed in the module
documentation.