pub struct RegularGrid {
pub width: u32,
pub height: u32,
pub first_longitude: f64,
pub first_latitude: f64,
pub longitude_step: f64,
pub latitude_step: f64,
pub wraps: bool,
pub gaussian: Option<GaussianRows>,
}Expand description
A regular latitude/longitude grid. With gaussian, the rows are really a
Gaussian grid’s: the regular fields stay the equidistant approximation a
renderer samples with, and the true latitudes are what a point read reports.
Fields§
§width: u32§height: u32§first_longitude: f64§first_latitude: f64§longitude_step: f64§latitude_step: f64§wraps: boolWhether a longitude wraps around the antimeridian (a global or antimeridian-crossing grid).
gaussian: Option<GaussianRows>Trait Implementations§
Source§impl Clone for RegularGrid
impl Clone for RegularGrid
impl Copy for RegularGrid
Source§impl Debug for RegularGrid
impl Debug for RegularGrid
Source§impl PartialEq for RegularGrid
impl PartialEq for RegularGrid
impl StructuralPartialEq for RegularGrid
Auto Trait Implementations§
impl Forget for RegularGrid
impl Freeze for RegularGrid
impl Move for RegularGrid
impl RefUnwindSafe for RegularGrid
impl Send for RegularGrid
impl Sync for RegularGrid
impl Unpin for RegularGrid
impl UnsafeUnpin for RegularGrid
impl UnwindSafe for RegularGrid
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