pub struct Sentinel1GeolocationGrid {
pub points: Vec<Sentinel1GeolocationGridPoint>,
}Expand description
Sentinel-1 geolocation grid parsed from an annotation XML.
The grid is sparsely sampled across image lines and pixels; all interpolation methods use bilinear interpolation over the irregular grid.
Fields§
§points: Vec<Sentinel1GeolocationGridPoint>Grid points sorted by (line, pixel).
Implementations§
Source§impl Sentinel1GeolocationGrid
impl Sentinel1GeolocationGrid
Sourcepub fn interpolated_lat_lon(&self, row: usize, col: usize) -> Option<(f64, f64)>
pub fn interpolated_lat_lon(&self, row: usize, col: usize) -> Option<(f64, f64)>
Bilinearly interpolate (latitude, longitude) at the given image (row, col).
Sourcepub fn interpolated_height(&self, row: usize, col: usize) -> Option<f64>
pub fn interpolated_height(&self, row: usize, col: usize) -> Option<f64>
Bilinearly interpolate ellipsoidal height in metres at (row, col).
Trait Implementations§
Source§impl Clone for Sentinel1GeolocationGrid
impl Clone for Sentinel1GeolocationGrid
Source§fn clone(&self) -> Sentinel1GeolocationGrid
fn clone(&self) -> Sentinel1GeolocationGrid
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 moreSource§impl Debug for Sentinel1GeolocationGrid
impl Debug for Sentinel1GeolocationGrid
Source§impl PartialEq for Sentinel1GeolocationGrid
impl PartialEq for Sentinel1GeolocationGrid
Source§fn eq(&self, other: &Sentinel1GeolocationGrid) -> bool
fn eq(&self, other: &Sentinel1GeolocationGrid) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for Sentinel1GeolocationGrid
Auto Trait Implementations§
impl Freeze for Sentinel1GeolocationGrid
impl RefUnwindSafe for Sentinel1GeolocationGrid
impl Send for Sentinel1GeolocationGrid
impl Sync for Sentinel1GeolocationGrid
impl Unpin for Sentinel1GeolocationGrid
impl UnsafeUnpin for Sentinel1GeolocationGrid
impl UnwindSafe for Sentinel1GeolocationGrid
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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