pub struct MapConversion {Show 16 fields
pub operation: u64,
pub kind: String,
pub source: u64,
pub source_kind: String,
pub target_crs: ProjectedCrs,
pub eastings: f64,
pub northings: f64,
pub orthogonal_height: f64,
pub x_axis: (f64, f64),
pub scale: f64,
pub factors: Option<(f64, f64, f64)>,
pub project_unit: LengthUnit,
pub map_unit: LengthUnit,
pub map_unit_declared: bool,
pub linear: [[f64; 3]; 3],
pub translation: [f64; 3],
}Expand description
One coordinate operation, resolved.
Fields§
§operation: u64The coordinate-operation entity; for IFC2X3, the
ePSet_MapConversion property set.
kind: Stringmap-conversion, map-conversion-scaled or rigid-operation.
source: u64SourceCRS: a representation context or a CRS; for IFC2X3, the
IfcProject or IfcSite carrying the property sets.
source_kind: Stringcontext, crs or (IFC2X3) property-set.
target_crs: ProjectedCrsThe target IfcProjectedCRS.
eastings: f64Eastings as authored, in map_unit.
northings: f64Northings as authored, in map_unit.
orthogonal_height: f64OrthogonalHeight as authored, in map_unit (a rigid operation’s
Height, or 0 when it states none).
x_axis: (f64, f64)(XAxisAbscissa, XAxisOrdinate), normalised.
scale: f64Scale as declared (1 when unset or for a rigid operation).
factors: Option<(f64, f64, f64)>IFC4X3 IfcMapConversionScaled (FactorX, FactorY, FactorZ).
project_unit: LengthUnitThe project length unit the operation was resolved with.
map_unit: LengthUnitThe map unit: the CRS’s MapUnit, or the project unit when unset.
map_unit_declared: boolWhether the CRS states MapUnit itself.
linear: [[f64; 3]; 3]The operation from project metres to map metres as three columns, the images of the project’s X, Y and Z axes.
translation: [f64; 3]Where the project origin lands, in map metres.
Trait Implementations§
Source§impl Clone for MapConversion
impl Clone for MapConversion
Source§fn clone(&self) -> MapConversion
fn clone(&self) -> MapConversion
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more