pub struct HelmertParams {
pub dx: f64,
pub dy: f64,
pub dz: f64,
pub rx: f64,
pub ry: f64,
pub rz: f64,
pub ds: f64,
}Expand description
7-parameter Helmert (Bursa-Wolf) transformation parameters.
Defines the transformation from one datum to WGS84 geocentric coordinates:
[X'] [dx] [ 1 -rz ry] [X]
[Y'] = [dy] + (1+ds)[ rz 1 -rx] [Y]
[Z'] [dz] [ -ry rx 1 ] [Z]Fields§
§dx: f64X-axis translation in meters.
dy: f64Y-axis translation in meters.
dz: f64Z-axis translation in meters.
rx: f64X-axis rotation in arc-seconds.
ry: f64Y-axis rotation in arc-seconds.
rz: f64Z-axis rotation in arc-seconds.
ds: f64Scale difference in parts-per-million (ppm).
Implementations§
Source§impl HelmertParams
impl HelmertParams
Trait Implementations§
Source§impl Clone for HelmertParams
impl Clone for HelmertParams
Source§fn clone(&self) -> HelmertParams
fn clone(&self) -> HelmertParams
Returns a duplicate 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 HelmertParams
impl Debug for HelmertParams
impl Copy for HelmertParams
Auto Trait Implementations§
impl Freeze for HelmertParams
impl RefUnwindSafe for HelmertParams
impl Send for HelmertParams
impl Sync for HelmertParams
impl Unpin for HelmertParams
impl UnsafeUnpin for HelmertParams
impl UnwindSafe for HelmertParams
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