pub struct CartesianCoordinate { /* private fields */ }
Expand description
Represents a coordinate in 3D Cartesian Space (X, Y, Z)
Implementations§
Source§impl CartesianCoordinate
impl CartesianCoordinate
pub fn new(x: Length, y: Length, z: Length) -> CartesianCoordinate
pub fn new_meters( x_meters: f64, y_meters: f64, z_meters: f64, ) -> CartesianCoordinate
pub fn get_x(&self) -> &Length
pub fn get_y(&self) -> &Length
pub fn get_z(&self) -> &Length
pub fn get_altitude(&self) -> &Option<Altitude>
pub fn get_altitude_uncertainty(&self) -> &Option<Length>
pub fn get_timestamp(&self) -> &Option<UnixTimestamp>
pub fn with_altitude(self, altitude: Altitude) -> CartesianCoordinate
pub fn with_timestamp(self, timestamp: UnixTimestamp) -> CartesianCoordinate
pub fn position_uncertainty(&self) -> &Option<PositionUncertainty>
Trait Implementations§
Source§impl Clone for CartesianCoordinate
impl Clone for CartesianCoordinate
Source§fn clone(&self) -> CartesianCoordinate
fn clone(&self) -> CartesianCoordinate
Returns a copy of the value. Read more
1.0.0 · 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 CartesianCoordinate
impl Debug for CartesianCoordinate
Source§impl Default for CartesianCoordinate
impl Default for CartesianCoordinate
Source§fn default() -> CartesianCoordinate
fn default() -> CartesianCoordinate
Returns the “default value” for a type. Read more
Source§impl Display for CartesianCoordinate
impl Display for CartesianCoordinate
Source§impl PartialEq for CartesianCoordinate
impl PartialEq for CartesianCoordinate
impl Copy for CartesianCoordinate
impl StructuralPartialEq for CartesianCoordinate
Auto Trait Implementations§
impl Freeze for CartesianCoordinate
impl RefUnwindSafe for CartesianCoordinate
impl Send for CartesianCoordinate
impl Sync for CartesianCoordinate
impl Unpin for CartesianCoordinate
impl UnwindSafe for CartesianCoordinate
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