Struct ncollide_geometry::shape::Plane [] [src]

pub struct Plane<V> { /* fields omitted */ }

SupportMap description of a plane.

Methods

impl<V: Vector> Plane<V>
[src]

Builds a new plane from its center and its normal.

impl<V> Plane<V>
[src]

Builds a new plane from its center and its normal.

The plane normal.

Trait Implementations

impl<V: PartialEq> PartialEq for Plane<V>
[src]

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

This method tests for !=.

impl<V: Debug> Debug for Plane<V>
[src]

Formats the value using the given formatter.

impl<V: Clone> Clone for Plane<V>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<V: Encodable> Encodable for Plane<V>
[src]

Serialize a value using an Encoder.

impl<V: Decodable> Decodable for Plane<V>
[src]

Deserialize a value using a Decoder.

impl<P: Point, M: Isometry<P>> Shape<P, M> for Plane<P::Vector>
[src]

The AABB of self.

The bounding sphere of self.

The RayCast implementation of self.

The PointQuery implementation of self.

The support mapping of self if applicable.

The composite shape representation of self if applicable.

Whether self uses a supportmapping-based representation.

Whether self uses a composite shape-based representation.

impl<P, M> HasBoundingVolume<M, AABB<P>> for Plane<P::Vector> where
    P: Point
[src]

The bounding volume of self transformed by m.

impl<P: Point, M: Isometry<P>> HasBoundingVolume<M, BoundingSphere<P>> for Plane<P::Vector>
[src]

The bounding volume of self transformed by m.

impl<P: Point, M: Isometry<P>> RayCast<P, M> for Plane<P::Vector>
[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.

Computes time of impact, normal, and texture coordinates (uv) between this transformed shape and a ray. Read more

Tests whether a ray intersects this transformed shape.

impl<P: Point, M: Isometry<P>> PointQuery<P, M> for Plane<P::Vector>
[src]

Projects a point on self transformed by m.

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

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