Struct mgf::Simplex[][src]

pub struct Simplex<Point = Point3<f32>> where
    Point: Into<Point3<f32>> + From<Point3<f32>> + Copy + Clone + 'static, 
{ /* fields omitted */ }

Methods

impl<Point> Simplex<Point> where
    Point: Into<Point3<f32>> + From<Point3<f32>> + Copy + Clone + 'static + Debug
[src]

Finds the closest point on the shape to the origin

impl Simplex<SupportPoint>
[src]

Generates a contact from a simplex. This uses the EPA algorithm. Based on the description here: http://hacktank.net/blog/?p=119

Trait Implementations

impl<Point> Debug for Simplex<Point> where
    Point: Into<Point3<f32>> + From<Point3<f32>> + Copy + Clone + 'static + Debug
[src]

Formats the value using the given formatter. Read more

impl<Point> From<[Point; 1]> for Simplex<Point> where
    Point: Into<Point3<f32>> + From<Point3<f32>> + Copy + Clone + 'static, 
[src]

Performs the conversion.

impl<Point> From<Point> for Simplex<Point> where
    Point: Into<Point3<f32>> + From<Point3<f32>> + Copy + Clone + 'static, 
[src]

Performs the conversion.

impl<Point> From<[Point; 2]> for Simplex<Point> where
    Point: Into<Point3<f32>> + From<Point3<f32>> + Copy + Clone + 'static, 
[src]

Performs the conversion.

impl<Point> From<(Point, Point)> for Simplex<Point> where
    Point: Into<Point3<f32>> + From<Point3<f32>> + Copy + Clone + 'static, 
[src]

Performs the conversion.

impl<Point> From<[Point; 3]> for Simplex<Point> where
    Point: Into<Point3<f32>> + From<Point3<f32>> + Copy + Clone + 'static, 
[src]

Performs the conversion.

impl<Point> From<(Point, Point, Point)> for Simplex<Point> where
    Point: Into<Point3<f32>> + From<Point3<f32>> + Copy + Clone + 'static, 
[src]

Performs the conversion.

impl<Point> From<[Point; 4]> for Simplex<Point> where
    Point: Into<Point3<f32>> + From<Point3<f32>> + Copy + Clone + 'static, 
[src]

Performs the conversion.

impl<Point> From<(Point, Point, Point, Point)> for Simplex<Point> where
    Point: Into<Point3<f32>> + From<Point3<f32>> + Copy + Clone + 'static, 
[src]

Performs the conversion.

Auto Trait Implementations

impl<Point = Point3<f32>> !Send for Simplex<Point>

impl<Point = Point3<f32>> !Sync for Simplex<Point>