#[non_exhaustive]pub struct GeographicCrs {
pub entity: EntityId,
pub name: Option<String>,
pub description: Option<String>,
pub geodetic_datum: Option<String>,
pub prime_meridian: Option<String>,
pub angle_unit: Option<AngleUnit>,
pub height_unit: Option<LengthUnit>,
pub well_known_text: Option<String>,
}Expand description
A geographic coordinate reference system read from IFC4X3
IfcGeographicCRS.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.entity: EntityIdThe IfcGeographicCRS entity this was read from.
name: Option<String>CRS identifier, conventionally an EPSG code such as EPSG:4326.
None only when exactly one IfcWellKnownText defines the CRS.
description: Option<String>Optional human-readable description.
geodetic_datum: Option<String>Optional geodetic datum, such as WGS84.
prime_meridian: Option<String>Optional prime meridian identifier, such as Greenwich.
angle_unit: Option<AngleUnit>The declared unit of latitude and longitude. None when the file
does not state one; no unit is assumed.
height_unit: Option<LengthUnit>The declared unit of ellipsoidal height. None when the file does
not state one; no unit is assumed.
well_known_text: Option<String>The OGC WKT literal of the one IfcWellKnownText defining this CRS.
Trait Implementations§
Source§impl Clone for GeographicCrs
impl Clone for GeographicCrs
Source§fn clone(&self) -> GeographicCrs
fn clone(&self) -> GeographicCrs
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for GeographicCrs
impl Debug for GeographicCrs
Source§impl PartialEq for GeographicCrs
impl PartialEq for GeographicCrs
impl StructuralPartialEq for GeographicCrs
Auto Trait Implementations§
impl Freeze for GeographicCrs
impl RefUnwindSafe for GeographicCrs
impl Send for GeographicCrs
impl Sync for GeographicCrs
impl Unpin for GeographicCrs
impl UnsafeUnpin for GeographicCrs
impl UnwindSafe for GeographicCrs
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