[−][src]Trait hrbf::HRBFTrait
HRBF public interface. It is not necessary to use this trait, but it allows using the HRBF as a trait object. For example this is used to pass HRBF objects between functions in the C API.
Required methods
fn fit(&mut self, points: &[Point3<T>], normals: &[Vector3<T>]) -> bool
fn fit_offset(
&mut self,
points: &[Point3<T>],
offsets: &[T],
normals: &[Vector3<T>]
) -> bool
&mut self,
points: &[Point3<T>],
offsets: &[T],
normals: &[Vector3<T>]
) -> bool
fn fit_system(
&self,
points: &[Point3<T>],
potential: &[T],
normals: &[Vector3<T>]
) -> (DMatrix<T>, DVector<T>)
&self,
points: &[Point3<T>],
potential: &[T],
normals: &[Vector3<T>]
) -> (DMatrix<T>, DVector<T>)
fn eval(&self, p: Point3<T>) -> T
fn grad(&self, p: Point3<T>) -> Vector3<T>
fn hess(&self, p: Point3<T>) -> Matrix3<T>
Implementors
impl<T, K> HRBFTrait<T> for HRBF<T, K> where
T: Real,
K: Kernel<T> + Default,
[src]
T: Real,
K: Kernel<T> + Default,
fn fit(&mut self, points: &[Point3<T>], normals: &[Vector3<T>]) -> bool
[src]
fn fit_offset(
&mut self,
points: &[Point3<T>],
offsets: &[T],
normals: &[Vector3<T>]
) -> bool
[src]
&mut self,
points: &[Point3<T>],
offsets: &[T],
normals: &[Vector3<T>]
) -> bool
fn fit_system(
&self,
points: &[Point3<T>],
potential: &[T],
normals: &[Vector3<T>]
) -> (DMatrix<T>, DVector<T>)
[src]
&self,
points: &[Point3<T>],
potential: &[T],
normals: &[Vector3<T>]
) -> (DMatrix<T>, DVector<T>)