pub struct RotatedLatLonGrid {
pub grid: LatLonGrid,
pub lat_southern_pole: i32,
pub lon_southern_pole: u32,
pub angle_of_rotation: f32,
}Expand description
Template 3.1: rotated latitude/longitude grid.
Fields§
§grid: LatLonGridGrid coordinates expressed in the rotated coordinate system.
lat_southern_pole: i32§lon_southern_pole: u32§angle_of_rotation: f32Implementations§
Source§impl RotatedLatLonGrid
impl RotatedLatLonGrid
pub fn rotated_longitudes(&self) -> Result<Vec<f64>, Error>
pub fn rotated_longitudes_with_limit( &self, max_axis_points: Option<usize>, ) -> Result<Vec<f64>, Error>
pub fn rotated_latitudes(&self) -> Result<Vec<f64>, Error>
pub fn rotated_latitudes_with_limit( &self, max_axis_points: Option<usize>, ) -> Result<Vec<f64>, Error>
Trait Implementations§
Source§impl Clone for RotatedLatLonGrid
impl Clone for RotatedLatLonGrid
Source§fn clone(&self) -> RotatedLatLonGrid
fn clone(&self) -> RotatedLatLonGrid
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 RotatedLatLonGrid
impl Debug for RotatedLatLonGrid
Source§impl PartialEq for RotatedLatLonGrid
impl PartialEq for RotatedLatLonGrid
impl StructuralPartialEq for RotatedLatLonGrid
Auto Trait Implementations§
impl Freeze for RotatedLatLonGrid
impl RefUnwindSafe for RotatedLatLonGrid
impl Send for RotatedLatLonGrid
impl Sync for RotatedLatLonGrid
impl Unpin for RotatedLatLonGrid
impl UnsafeUnpin for RotatedLatLonGrid
impl UnwindSafe for RotatedLatLonGrid
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