Trait fenris_geometry::sdf::SignedDistanceFunction2d
source · pub trait SignedDistanceFunction2d<T>where
T: Scalar,{
fn eval(&self, x: &Point2<T>) -> T;
fn gradient(&self, x: &Point2<T>) -> Option<Vector2<T>>;
fn union<Other>(self, other: Other) -> SdfUnion<Self, Other>
where
Self: Sized,
Other: Sized + SignedDistanceFunction2d<T>,
{ ... }
}