Trait mgf::MinDistance
[−]
[src]
pub trait MinDistance<To = Point3<f32>, Result = Point3<f32>> { fn min_dist(&self, _: &To) -> Result; }
Finds the result corresponding to the minimum distance between two objects.
Required Methods
Implementors
impl MinDistance<Point3<f32>, f32> for Plane
impl MinDistance<Point3<f32>> for Plane
impl MinDistance<Point3<f32>> for Ray
impl MinDistance<Point3<f32>, f32> for Segment
impl MinDistance<Point3<f32>> for Segment
impl MinDistance<Segment, Option<(Point3<f32>, Point3<f32>)>> for Segment
impl MinDistance<Point3<f32>> for Triangle
impl MinDistance<Point3<f32>> for Rectangle
impl MinDistance<Point3<f32>> for AABB
impl MinDistance<Point3<f32>> for Sphere
impl MinDistance<Point3<f32>> for Capsule