pub trait ImplicitSurface3: Surface3 {
// Required method
fn signed_distance_local(&self, other_point: &Vector3D) -> f64;
// Provided methods
fn signed_distance(&self, other_point: &Vector3D) -> f64 { ... }
fn closest_distance_local(&self, other_point: &Vector3D) -> f64 { ... }
fn is_inside_local(&self, other_point: &Vector3D) -> bool { ... }
}
Expand description
Abstract base class for 3-D implicit surface.
Required Methods§
Sourcefn signed_distance_local(&self, other_point: &Vector3D) -> f64
fn signed_distance_local(&self, other_point: &Vector3D) -> f64
Returns signed distance from the given point \p otherPoint in local space.
Provided Methods§
Sourcefn signed_distance(&self, other_point: &Vector3D) -> f64
fn signed_distance(&self, other_point: &Vector3D) -> f64
Returns signed distance from the given point \p otherPoint.