pub struct EllipticalCoordinate { /* private fields */ }
Expand description
Represents a Latitude, Longitude, and Altitude on a Elliptical Shape
Implementations§
Source§impl EllipticalCoordinate
impl EllipticalCoordinate
Sourcepub const fn new(
latitude: Latitude,
longitude: Longitude,
reference_frame: EllipticalShape,
) -> EllipticalCoordinate
pub const fn new( latitude: Latitude, longitude: Longitude, reference_frame: EllipticalShape, ) -> EllipticalCoordinate
Constructs a new EllipticalCoordinate
object
Sourcepub const fn new_degrees_wgs84(
latitude: f64,
longitude: f64,
) -> EllipticalCoordinate
pub const fn new_degrees_wgs84( latitude: f64, longitude: f64, ) -> EllipticalCoordinate
Constructs a new EllipticalCoordinate
object assuming AngleUnits::Degrees
and standards::wgs84::WGS84_SHAPE
pub fn get_latitude(&self) -> &Latitude
pub fn get_longitude(&self) -> &Longitude
pub fn get_reference_frame(&self) -> &EllipticalShape
pub fn get_altitude(&self) -> &Option<Altitude>
pub fn get_altitude_uncertainty(&self) -> &Option<Length>
pub fn get_timestamp(&self) -> &Option<UTCDateTime>
pub fn with_altitude(self, altitude: Altitude) -> EllipticalCoordinate
pub fn with_timestamp(self, timestamp: UTCDateTime) -> EllipticalCoordinate
pub fn position_uncertainty(&self) -> &Option<PositionUncertainty>
Trait Implementations§
Source§impl Clone for EllipticalCoordinate
impl Clone for EllipticalCoordinate
Source§fn clone(&self) -> EllipticalCoordinate
fn clone(&self) -> EllipticalCoordinate
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 EllipticalCoordinate
impl Debug for EllipticalCoordinate
Source§impl Default for EllipticalCoordinate
impl Default for EllipticalCoordinate
Source§fn default() -> EllipticalCoordinate
fn default() -> EllipticalCoordinate
Returns the “default value” for a type. Read more
Source§impl Display for EllipticalCoordinate
impl Display for EllipticalCoordinate
Source§impl PartialEq for EllipticalCoordinate
impl PartialEq for EllipticalCoordinate
Source§impl TryFrom<&Geocoordinate> for EllipticalCoordinate
impl TryFrom<&Geocoordinate> for EllipticalCoordinate
impl Copy for EllipticalCoordinate
impl StructuralPartialEq for EllipticalCoordinate
Auto Trait Implementations§
impl Freeze for EllipticalCoordinate
impl RefUnwindSafe for EllipticalCoordinate
impl Send for EllipticalCoordinate
impl Sync for EllipticalCoordinate
impl Unpin for EllipticalCoordinate
impl UnwindSafe for EllipticalCoordinate
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