pub struct Xyz {
pub x: Meters,
pub y: Meters,
pub z: Meters,
}Expand description
Xyz is the earth-centric Xyz point system.
{ x: 0.0, y: 0.0, z: 0.0 } is the center of the CoordinateSystem (which
is to say, inside Earth’s Core). X/Y/Z coordinates are cartesian, and
as they grow larger in absolute value, will get further from the center of
Earth.
Xyz locations can be turned into points in reference to Earth’s ellipsoid by using some CoordinateSystem, such as Wgs84, either directly or via Lle.
Fields§
§x: MetersDistance from the center of the ECEF coordinate system. The X axis intersects the equator along the semi-major axis.
y: MetersDistance from the center of the ECEF coordinate system. The Y axis intersects the equator along the semi-minor axis.
z: MetersDistance from the center of the ECEF coordinate system. The Z axis intersects the north and south poles.
Trait Implementations§
impl Copy for Xyz
impl StructuralPartialEq for Xyz
Auto Trait Implementations§
impl Freeze for Xyz
impl RefUnwindSafe for Xyz
impl Send for Xyz
impl Sync for Xyz
impl Unpin for Xyz
impl UnwindSafe for Xyz
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