pub struct Ellipsoid {
pub name: String,
pub semi_major_axis: f64,
pub inverse_flattening: f64,
pub unit: Option<Unit>,
pub identifiers: Vec<Identifier>,
}Expand description
A reference ellipsoid (the mathematical figure of the Earth).
WKT2 keywords: ELLIPSOID (preferred), SPHEROID (backward compatibility).
Fields§
§name: StringThe ellipsoid name (e.g. “WGS 84”, “GRS 1980”).
semi_major_axis: f64The semi-major axis length.
inverse_flattening: f64The inverse flattening (0 for a sphere).
unit: Option<Unit>The length unit for the semi-major axis. If absent, metres are assumed.
identifiers: Vec<Identifier>Identifiers for this ellipsoid.
Trait Implementations§
impl StructuralPartialEq for Ellipsoid
Auto Trait Implementations§
impl Freeze for Ellipsoid
impl RefUnwindSafe for Ellipsoid
impl Send for Ellipsoid
impl Sync for Ellipsoid
impl Unpin for Ellipsoid
impl UnsafeUnpin for Ellipsoid
impl UnwindSafe for Ellipsoid
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