Struct ncollide3d::shape::Tetrahedron[][src]

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

A tetrahedron with 4 vertices.

Methods

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

Creates a tetrahedron from three points.

Creates the reference to a tetrahedron from the reference to an array of four points.

The fist point of this tetrahedron.

The second point of this tetrahedron.

The third point of this tetrahedron.

The fourth point of this tetrahedron.

Retuns the i-th face of this tetrahedron.

The 0-th face is the triangle ABC. The 1-st face is the triangle ABD. The 2-nd face is the triangle ACD. The 3-rd face is the triangle BCD.

Retuns the i-th edge of this tetrahedron.

The 0-st edge is the segment AB. The 1-st edge is the segment AC. The 2-nd edge is the segment AD. The 3-rd edge is the segment BC. The 4-th edge is the segment BD. The 5-th edge is the segment CD.

Trait Implementations

impl<N: Real> PointQuery<N> for Tetrahedron<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> PointQueryWithLocation<N> for Tetrahedron<N>
[src]

Additional shape-specific projection information Read more

Projects a point on self transformed by m.

impl<N: Copy + Real> Copy for Tetrahedron<N>
[src]

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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

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

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl<N> Send for Tetrahedron<N>

impl<N> Sync for Tetrahedron<N>