pub struct Georeferencing {Show 17 fields
pub crs_name: Option<String>,
pub geodetic_datum: Option<String>,
pub vertical_datum: Option<String>,
pub map_projection: Option<String>,
pub eastings: f64,
pub northings: f64,
pub orthogonal_height: f64,
pub x_axis_abscissa: f64,
pub x_axis_ordinate: f64,
pub scale: f64,
pub rotation_degrees: f64,
pub transform_matrix: [f64; 16],
pub crs_description: Option<String>,
pub map_zone: Option<String>,
pub map_unit: Option<String>,
pub map_unit_scale: Option<f64>,
pub source: Option<String>,
}Expand description
Georeferencing metadata (IfcMapConversion + IfcProjectedCRS).
Mirrors ifc_lite_core::GeoReference with two derived conveniences
(rotation_degrees, transform_matrix) so consumers don’t have to
recompute the rotation or the local→map matrix.
Fields§
§crs_name: Option<String>Projected CRS name from IfcProjectedCRS.Name (e.g. "EPSG:32632").
geodetic_datum: Option<String>Geodetic datum (e.g. "WGS84").
vertical_datum: Option<String>Vertical datum (e.g. "NAVD88").
map_projection: Option<String>Map projection (e.g. "UTM").
eastings: f64False easting — X offset to the map CRS, in the project’s length unit.
northings: f64False northing — Y offset to the map CRS, in the project’s length unit.
orthogonal_height: f64Orthogonal height — Z offset to the map CRS.
x_axis_abscissa: f64X-axis abscissa: cosine of the rotation to grid north.
x_axis_ordinate: f64X-axis ordinate: sine of the rotation to grid north.
scale: f64Scale factor applied during the local→map transform (default 1.0).
rotation_degrees: f64Rotation to grid north in degrees, derived from the X-axis direction.
transform_matrix: [f64; 16]Local→map transform as a column-major 4×4 matrix (16 values).
crs_description: Option<String>CRS description from IfcProjectedCRS.Description.
map_zone: Option<String>Map zone (e.g. "32N") from IfcProjectedCRS.MapZone.
map_unit: Option<String>Map unit name resolved from IfcProjectedCRS.MapUnit (e.g. "METRE",
"MILLIMETRE"); absent when no MapUnit is authored.
map_unit_scale: Option<f64>Scale factor converting MapConversion values to metres (0.001 for millimetres); absent when no MapUnit is authored.
source: Option<String>Provenance: "mapConversion", "ePSetMapConversion", or
"siteLocation" — same labels as the TS parser’s
GeoreferenceInfo.source.
Trait Implementations§
Source§impl Clone for Georeferencing
impl Clone for Georeferencing
Source§fn clone(&self) -> Georeferencing
fn clone(&self) -> Georeferencing
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for Georeferencing
impl Debug for Georeferencing
Source§impl Default for Georeferencing
impl Default for Georeferencing
Source§fn default() -> Georeferencing
fn default() -> Georeferencing
Source§impl<'de> Deserialize<'de> for Georeferencing
impl<'de> Deserialize<'de> for Georeferencing
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl PartialEq for Georeferencing
impl PartialEq for Georeferencing
Source§fn eq(&self, other: &Georeferencing) -> bool
fn eq(&self, other: &Georeferencing) -> bool
self and other values to be equal, and is used by ==.Source§impl Serialize for Georeferencing
impl Serialize for Georeferencing
impl StructuralPartialEq for Georeferencing
Auto Trait Implementations§
impl Freeze for Georeferencing
impl RefUnwindSafe for Georeferencing
impl Send for Georeferencing
impl Sync for Georeferencing
impl Unpin for Georeferencing
impl UnsafeUnpin for Georeferencing
impl UnwindSafe for Georeferencing
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> Pointable for T
impl<T> Pointable for T
impl<T> Scalar for T
Source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
self is actually part of its subset T (and can be converted to it).Source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
self to the equivalent element of its superset.