pub enum GridMethod {
Nearest,
InverseDistance,
MinimumCurvature,
}Expand description
Scattered-data → grid interpolation methods.
Variants§
Nearest
Value of the single areally-closest sample (blocky, exact at data).
InverseDistance
Inverse-distance weighting (global, p = 2). Exact at coincident samples.
MinimumCurvature
Briggs minimum-curvature (biharmonic) — smooth, honours the samples.
Trait Implementations§
Source§impl Clone for GridMethod
impl Clone for GridMethod
Source§fn clone(&self) -> GridMethod
fn clone(&self) -> GridMethod
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 GridMethod
Source§impl Debug for GridMethod
impl Debug for GridMethod
impl Eq for GridMethod
Source§impl Gridder for GridMethod
impl Gridder for GridMethod
Source§impl PartialEq for GridMethod
impl PartialEq for GridMethod
impl StructuralPartialEq for GridMethod
Auto Trait Implementations§
impl Freeze for GridMethod
impl RefUnwindSafe for GridMethod
impl Send for GridMethod
impl Sync for GridMethod
impl Unpin for GridMethod
impl UnsafeUnpin for GridMethod
impl UnwindSafe for GridMethod
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
impl<T> Scalar for T
Source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self is actually part of its subset T (and can be converted to it).Source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.