Skip to main content

Interpolation2D

Trait Interpolation2D 

Source
pub trait Interpolation2D {
    // Required method
    fn interpolate_at(&self, x: f64, y: f64) -> Result<f64, ErrorsJSL>;
}
Expand description

Evaluation interface shared by the 2D interpolators.

Required Methods§

Source

fn interpolate_at(&self, x: f64, y: f64) -> Result<f64, ErrorsJSL>

Interpolated value at (x, y).

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§