pub struct Coord3D {
pub x: f64,
pub y: f64,
pub z: f64,
}Expand description
A 3D coordinate.
At the public API boundary:
- Geographic CRS: x/y are longitude/latitude in degrees
- Projected CRS: x/y are easting/northing in meters
zis preserved unchanged by the current horizontal-only transform pipeline
Fields§
§x: f64§y: f64§z: f64Implementations§
Trait Implementations§
Source§impl Transformable3D for Coord3D
impl Transformable3D for Coord3D
fn into_coord3d(self) -> Coord3D
fn from_coord3d(c: Coord3D) -> Self
impl Copy for Coord3D
impl StructuralPartialEq for Coord3D
Auto Trait Implementations§
impl Freeze for Coord3D
impl RefUnwindSafe for Coord3D
impl Send for Coord3D
impl Sync for Coord3D
impl Unpin for Coord3D
impl UnsafeUnpin for Coord3D
impl UnwindSafe for Coord3D
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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>
Converts
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>
Converts
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 more