pub enum NorthReference {
Project,
True {
direction: (f64, f64),
},
Grid {
direction: (f64, f64),
},
}Expand description
A resolved north reference: a unit-length 2D direction in the project’s own XY plane, plus which reference it names.
Variants§
Project
The project’s own Y axis: always (0, 1) by definition.
True
Geodetic north, from IfcGeometricRepresentationContext.TrueNorth
(or its (0, 1) default when the attribute is absent).
Grid
The target map’s northing axis, derived from an IfcMapConversion.
Implementations§
Trait Implementations§
Source§impl Clone for NorthReference
impl Clone for NorthReference
Source§fn clone(&self) -> NorthReference
fn clone(&self) -> NorthReference
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 moreimpl Copy for NorthReference
Source§impl Debug for NorthReference
impl Debug for NorthReference
Source§impl PartialEq for NorthReference
impl PartialEq for NorthReference
impl StructuralPartialEq for NorthReference
Auto Trait Implementations§
impl Freeze for NorthReference
impl RefUnwindSafe for NorthReference
impl Send for NorthReference
impl Sync for NorthReference
impl Unpin for NorthReference
impl UnsafeUnpin for NorthReference
impl UnwindSafe for NorthReference
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