Struct ncollide2d::shape::Plane[][src]

pub struct Plane<N: Real> { /* fields omitted */ }

SupportMap description of a plane.

Methods

impl<N: Real> Plane<N>
[src]

Builds a new plane from its center and its normal.

The plane normal.

Trait Implementations

impl<N: Real> HasBoundingVolume<N, AABB<N>> for Plane<N>
[src]

The bounding volume of self transformed by m.

impl<N: Real> HasBoundingVolume<N, BoundingSphere<N>> for Plane<N>
[src]

The bounding volume of self transformed by m.

impl<N: Real> PointQuery<N> for Plane<N>
[src]

Projects a point on self transformed by m.

Projects a point on the boundary of self transformed by m and retuns the id of the feature the point was projected on. Read more

Computes the minimal distance between a point and self transformed by m.

Tests if the given point is inside of self transformed by m.

impl<N: Real> RayCast<N> for Plane<N>
[src]

Computes the time of impact, and normal between this transformed shape and a ray.

Computes the time of impact between this transform shape and a ray.

Tests whether a ray intersects this transformed shape.

impl<N: PartialEq + Real> PartialEq for Plane<N>
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl<N: Debug + Real> Debug for Plane<N>
[src]

Formats the value using the given formatter. Read more

impl<N: Clone + Real> Clone for Plane<N>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<N: Real> Shape<N> for Plane<N>
[src]

The AABB of self.

The bounding sphere of self.

The RayCast implementation of self.

The PointQuery implementation of self.

The transform of a specific subshape. Read more

The convex polyhedron representation of self if applicable.

The support mapping of self if applicable.

The composite shape representation of self if applicable.

Whether self uses a conve polyhedron representation.

Whether self uses a supportmapping-based representation.

Whether self uses a composite shape-based representation.

Auto Trait Implementations

impl<N> Send for Plane<N>

impl<N> Sync for Plane<N>