[−][src]Trait sdfu::util::NormalEstimator
NormalEstimator
s provide a way to estimate the normal of the SDF sdf
at point p
.
Required methods
fn estimate_normal<S: SDF<T, V>>(&self, sdf: S, p: V) -> V
Implementors
impl<T, V> NormalEstimator<T, V> for CentralDifferenceEstimator<T, V, Dim2D> where
T: Add<T, Output = T> + Sub<T, Output = T> + Copy,
V: Vec2<T>,
[src]
T: Add<T, Output = T> + Sub<T, Output = T> + Copy,
V: Vec2<T>,
fn estimate_normal<S: SDF<T, V>>(&self, sdf: S, p: V) -> V
[src]
impl<T, V> NormalEstimator<T, V> for CentralDifferenceEstimator<T, V, Dim3D> where
T: Add<T, Output = T> + Sub<T, Output = T> + Copy,
V: Vec3<T>,
[src]
T: Add<T, Output = T> + Sub<T, Output = T> + Copy,
V: Vec3<T>,
fn estimate_normal<S: SDF<T, V>>(&self, sdf: S, p: V) -> V
[src]
impl<T, V> NormalEstimator<T, V> for TetrahedralEstimator<T, V> where
T: Add<T, Output = T> + Sub<T, Output = T> + Neg<Output = T> + One + Copy + Display,
V: Vec3<T>,
[src]
T: Add<T, Output = T> + Sub<T, Output = T> + Neg<Output = T> + One + Copy + Display,
V: Vec3<T>,