scan_model_bounds

Function scan_model_bounds 

Source
pub fn scan_model_bounds<T>(content: &T) -> ModelBounds
where T: AsRef<[u8]> + ?Sized,
Expand description

Scan IFC content to extract model bounds from IfcCartesianPoint entities

This is a fast first-pass scan that extracts coordinate values directly from the IFC text without full entity decoding. It samples points to determine if the model has large coordinates that need RTC shifting.

§Performance

This scans through the file once, looking for IFCCARTESIANPOINT patterns. It’s much faster than full entity parsing since it only extracts coordinates.