Expand description
Shapes supported by parry.
Structs§
- Axis
Mask - The status of the cell of an heightfield.
- Ball
- A ball shape, also known as a sphere in 3D or a circle in 2D.
- Capsule
- A capsule shape, also known as a pill or capped cylinder.
- Composite
Shape Ref - A helper struct that implements scene queries on any composite shapes.
- Compound
- A compound shape with an aabb bounding volume.
- Cone
- A 3D cone shape with apex pointing upward along the Y axis.
- Convex
Polyhedron - A 3D convex polyhedron without degenerate faces.
- Cuboid
- A cuboid shape, also known as a box or rectangle.
- Cylinder
- A 3D cylinder shape with axis aligned along the Y axis.
- Half
Space - A half-space delimited by an infinite plane.
- Height
Field - A 3D heightfield.
- Height
Field Cell Status - The status of the cell of an heightfield.
- Height
Field Flags - Flags controlling the behavior of some operations involving heightfields.
- Height
Field Radial Triangles - An iterator through all the triangles around the given point, after vertical projection on the heightfield.
- Octant
Pattern - Indicates the local shape of a voxel on each octant.
- Packed
Feature Id - A memory-efficient feature ID where the type and index are packed into a single
u32. - Polygonal
Feature - A polygonal feature representing the local polygonal approximation of a vertex, face, or edge of a convex shape.
- Polyline
- A polyline shape formed by connected line segments.
- Round
Shape - A shape with rounded borders.
- Segment
- A line segment shape.
- Shared
Shape - A reference-counted, shareable geometric shape.
- Tetrahedron
- A tetrahedron with 4 vertices.
- Topo
Face - A face of a triangle-mesh’s half-edge topology.
- Topo
Half Edge - A half-edge of a triangle-mesh’s half-edge topology.
- Topo
Vertex - A vertex of a triangle-mesh’s half-edge topology.
- TriMesh
- A triangle mesh.
- TriMesh
Connected Components - The connected-components of a triangle mesh.
- TriMesh
Flags - Controls how a
TriMeshshould be loaded. - TriMesh
Pseudo Normals - The set of pseudo-normals of a triangle mesh.
- TriMesh
Topology - The half-edge topology information of a triangle mesh.
- Triangle
- A triangle shape defined by three vertices.
- Triangle
Pseudo Normals - The pseudo-normals of a triangle providing approximations of its feature’s normal cones.
- Voxel
Data - Information associated to a voxel.
- Voxel
State - A description of the local neighborhood of a voxel.
- Voxels
- A shape made of axis-aligned, uniformly sized cubes (aka. voxels).
- Voxels
Chunk Ref - A reference to a chunk of voxels within a
Voxelsshape.
Enums§
- Feature
Id - An identifier of a geometric feature (vertex, edge, or face) of a shape.
- Segment
Point Location - Describes where a point is located on a segment.
- Shape
Type - Enum representing the type of a shape.
- Tetrahedron
Point Location - Logical description of the location of a point on a tetrahedron.
- Topology
Error - Errors that occur when computing or validating triangle mesh topology.
- TriMesh
Builder Error - Errors that occur when creating a triangle mesh.
- Triangle
Orientation - Orientation of a triangle.
- Triangle
Point Location - Description of the location of a point on a triangle.
- Typed
Shape - Enum representing the shape with its actual type
- Voxel
Type - Categorization of a voxel based on its neighbors.
Traits§
- Composite
Shape - Trait implemented by shapes composed of multiple simpler shapes.
- Polygonal
Feature Map - Trait implemented by convex shapes with features with polyhedral approximations.
- Shape
- Trait implemented by shapes usable by Rapier.
- Support
Map - Trait for convex shapes representable by a support mapping function.
- Typed
Composite Shape
Type Aliases§
- Round
Cone - A cone dilated by a sphere (so it has round corners).
- Round
Convex Polyhedron - A convex polyhedron dilated by a sphere (so it has round corners).
- Round
Cuboid - A cuboid dilated by a sphere (so it has round corners).
- Round
Cylinder - A cylinder dilated by a sphere (so it has round corners).
- Round
Triangle - A triangle dilated by a sphere (so it has round corners).