pub struct MercatorGrid {Show 20 fields
pub number_of_points: u32,
pub shape_of_earth: u8,
pub scale_factor_radius: u8,
pub scaled_value_radius: u32,
pub scale_factor_major_axis: u8,
pub scaled_value_major_axis: u32,
pub scale_factor_minor_axis: u8,
pub scaled_value_minor_axis: u32,
pub ni: u32,
pub nj: u32,
pub lat_first: i32,
pub lon_first: i32,
pub resolution_and_component_flags: u8,
pub lat_d: i32,
pub lat_last: i32,
pub lon_last: i32,
pub scanning_mode: u8,
pub orientation_of_grid: u32,
pub di: u32,
pub dj: u32,
}Expand description
Template 3.10: Mercator grid.
Fields§
§number_of_points: u32§shape_of_earth: u8§scale_factor_radius: u8§scaled_value_radius: u32§scale_factor_major_axis: u8§scaled_value_major_axis: u32§scale_factor_minor_axis: u8§scaled_value_minor_axis: u32§ni: u32§nj: u32§lat_first: i32§lon_first: i32§resolution_and_component_flags: u8§lat_d: i32§lat_last: i32§lon_last: i32§scanning_mode: u8§orientation_of_grid: u32§di: u32§dj: u32Implementations§
Source§impl MercatorGrid
impl MercatorGrid
pub fn x_coordinates(&self) -> Result<Vec<f64>, Error>
pub fn x_coordinates_with_limit( &self, max_axis_points: Option<usize>, ) -> Result<Vec<f64>, Error>
pub fn y_coordinates(&self) -> Result<Vec<f64>, Error>
pub fn y_coordinates_with_limit( &self, max_axis_points: Option<usize>, ) -> Result<Vec<f64>, Error>
pub fn reorder_for_ndarray_in_place<T>( &self, values: &mut [T], ) -> Result<(), Error>
pub fn validate_supported_scan_order(&self) -> Result<(), Error>
Trait Implementations§
Source§impl Clone for MercatorGrid
impl Clone for MercatorGrid
Source§fn clone(&self) -> MercatorGrid
fn clone(&self) -> MercatorGrid
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 MercatorGrid
impl Debug for MercatorGrid
Source§impl PartialEq for MercatorGrid
impl PartialEq for MercatorGrid
Source§fn eq(&self, other: &MercatorGrid) -> bool
fn eq(&self, other: &MercatorGrid) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for MercatorGrid
Auto Trait Implementations§
impl Freeze for MercatorGrid
impl RefUnwindSafe for MercatorGrid
impl Send for MercatorGrid
impl Sync for MercatorGrid
impl Unpin for MercatorGrid
impl UnsafeUnpin for MercatorGrid
impl UnwindSafe for MercatorGrid
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