pub struct FrameTransform {Show 18 fields
pub from: &'static str,
pub to: &'static str,
pub ref_epoch: f64,
pub tx_mm: f64,
pub ty_mm: f64,
pub tz_mm: f64,
pub dtx_mm: f64,
pub dty_mm: f64,
pub dtz_mm: f64,
pub scale_ppb: f64,
pub dscale_ppb: f64,
pub rx_mas: f64,
pub ry_mas: f64,
pub rz_mas: f64,
pub drx_mas: f64,
pub dry_mas: f64,
pub drz_mas: f64,
pub convention: RotationConvention,
}Expand description
A 7-parameter Helmert transform (with temporal rates) between two frames.
All parameters follow the IERS/EPSG conventions:
- translations in mm (rate in mm/yr)
- scale in parts per billion (rate in ppb/yr)
- rotations in milli-arc-seconds (rate in mas/yr), interpreted in
FrameTransform::convention.
Fields§
§from: &'static strSource frame name (e.g. "ITRF2020").
to: &'static strTarget frame name (e.g. "ITRF2014").
ref_epoch: f64Reference epoch (decimal year) at which the published parameters apply.
tx_mm: f64§ty_mm: f64§tz_mm: f64§dtx_mm: f64§dty_mm: f64§dtz_mm: f64§scale_ppb: f64§dscale_ppb: f64§rx_mas: f64§ry_mas: f64§rz_mas: f64§drx_mas: f64§dry_mas: f64§drz_mas: f64§convention: RotationConventionSign convention the rotation parameters are expressed in.
Trait Implementations§
Source§impl Clone for FrameTransform
impl Clone for FrameTransform
Source§fn clone(&self) -> FrameTransform
fn clone(&self) -> FrameTransform
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for FrameTransform
Auto Trait Implementations§
impl Freeze for FrameTransform
impl RefUnwindSafe for FrameTransform
impl Send for FrameTransform
impl Sync for FrameTransform
impl Unpin for FrameTransform
impl UnsafeUnpin for FrameTransform
impl UnwindSafe for FrameTransform
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