Module ncollide_entities::shape [] [src]

Collision shapes supported by ncollide.

Structs

AnnotatedMinkowskiSum

Same as the MinkowskiSum but with a support mapping which keeps track of the original supports points from the two wrapped shapes.

Ball

A Ball shape.

BaseMesh

A mesh generic wrt. the contained mesh elements characterized by vertices.

Capsule

SupportMap description of a capsule shape with its principal axis aligned with the y axis.

Compound

A compound shape with an aabb bounding volume.

Cone

SupportMap description of a cylinder shape with its principal axis aligned with the y axis.

Convex

The implicit convex hull of a set of points.

Cuboid

Shape of a box.

Cylinder

SupportMap description of a cylinder shape with its principal axis aligned with the y axis.

MinkowskiSum

SupportMap representation of the Minkowski sum of two shapes.

Plane

SupportMap description of a plane.

Polyline

Shape commonly known as a 2d line strip or a 3d segment mesh.

Reflection

SupportMap representation of the reflection of a shape.

Segment

A segment shape.

Torus

A torus.

TriMesh

Shape commonly known as a 2d line strip or a 3d triangle mesh.

Triangle

A triangle shape.

Traits

BaseMeshElement

Trait implemented by elements usable on the Mesh.

CompositeShape

Trait implemented by shapes composed of multiple simpler shapes.

Type Definitions

Ball2

A 2D ball.

Ball3

A 3D ball.

Capsule2

A 2D capsule.

Capsule3

A 3D capsule.

Compound2

A 2D compound shape.

Compound3

A 3D compound shape.

Cone2

A 2D cone.

Cone3

A 3D cone.

Convex2

A 2D convex polytope.

Convex3

A 3D convex polytope.

Cuboid2

A 2D cuboid.

Cuboid3

A 3D cuboid.

Cylinder2

A 2D cylinder.

Cylinder3

A 3D cylinder.

Plane2

A 2D plane.

Plane3

A 3D plane.

Polyline2

A 2D polyline.

Polyline3

A 3D polyline.

Segment2

A 2D segment.

Segment3

A 3D segment.

TriMesh3

A 3D triangle mesh.

Triangle2

A 2D triangle.

Triangle3

A 3D triangle.