[−][src]Struct geomorph::datum::Datum
Holds conventional datum information
Examples
use geomorph::*; fn main() { let dat: datum::Datum = datum::Datum::wgs84(); }
Fields
a: f64
f: f64
k0: f64
e2: f64
es: f64
e2m: f64
b1: f64
a1: f64
c: f64
n: f64
maxpow: usize
alp: Vec<f64>
bet: Vec<f64>
false_easting: Vec<f64>
false_northing: Vec<f64>
Methods
impl Datum
[src]
pub fn new(
a: f64,
f: f64,
k0: f64,
alpcoeff: &[f64],
betcoeff: &[f64],
b1coeff: &[f64]
) -> Datum
[src]
a: f64,
f: f64,
k0: f64,
alpcoeff: &[f64],
betcoeff: &[f64],
b1coeff: &[f64]
) -> Datum
Return a new Datum instance.
pub fn wgs84() -> Datum
[src]
Return a new datum WGS84 instance.
Auto Trait Implementations
impl Send for Datum
impl Sync for Datum
impl Unpin for Datum
impl UnwindSafe for Datum
impl RefUnwindSafe for Datum
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = !
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,