[][src]Trait mgf::Contains

pub trait Contains<RHS> {
    fn contains(&self, rhs: &RHS) -> bool;
}

A type that can completely subsume another.

Contains is another common form of discrete collision detection. Most often used internally to determine if an object contains a point.

Required methods

fn contains(&self, rhs: &RHS) -> bool

Returns true if the current object contains the argument.

Loading content...

Implementors

impl Contains<AABB> for AABB[src]

impl Contains<Sphere> for Sphere[src]

An important consequence of Spheres being closed: two spheres with the same center and radius contain each other.

impl Contains<Point3<f32>> for Plane[src]

impl Contains<Point3<f32>> for Triangle[src]

impl Contains<Point3<f32>> for Rectangle[src]

impl Contains<Point3<f32>> for AABB[src]

impl Contains<Point3<f32>> for Sphere[src]

Loading content...