pub struct GeoRefExtractor;Expand description
Extract georeferencing from IFC content
Implementations§
Source§impl GeoRefExtractor
impl GeoRefExtractor
Sourcepub fn extract(
decoder: &mut EntityDecoder<'_>,
entity_types: &[(u32, IfcType)],
) -> Result<Option<GeoReference>>
pub fn extract( decoder: &mut EntityDecoder<'_>, entity_types: &[(u32, IfcType)], ) -> Result<Option<GeoReference>>
Extract georeferencing from decoder
Precedence (identical to the TS parser): IfcMapConversion or a named
IfcProjectedCRS → ePSet_MapConversion (IFC2x3) → legacy IfcSite
lat/long. A refused conversion counts as no conversion, and an
IfcProjectedCRS whose mandatory Name is unset or blank declares no
CRS, so neither holds back the fallbacks on its own.
Auto Trait Implementations§
impl Freeze for GeoRefExtractor
impl RefUnwindSafe for GeoRefExtractor
impl Send for GeoRefExtractor
impl Sync for GeoRefExtractor
impl Unpin for GeoRefExtractor
impl UnwindSafe for GeoRefExtractor
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more