Module ncollide2d::query

source ·
Expand description

Non-persistant pairwise geometric queries.

Modules

Algorithms needed for distance and penetration depth computation.
Implementation details of the closest_points function.
Implementation details of the contact and contacts functions.
Implementation details of the distance function.
Point inclusion and projection.
Implementation details of the proximity function.
Ray-casting related definitions and implementations.
Implementation details of the time_of_impact function.

Structs

Geometric description of a contact.
Local contact kinematic of a pair of solids around two given points.
A contact manifold.
The prediction parameters for contact determination.n
Bounding Volume Tree visitor collecting nodes that may contain a given point.
Description of the projection of a point on a shape.
A Ray.
Bounding Volume Tree visitor collecting interferences with a given ray.
Structure containing the result of a successful ray cast.
A search thet selects the objects that has the smallest time of impact with a given ray.
A contact combined with contact kinematic information as well as a persistant identifier.

Enums

Closest points information.
Proximity information.

Traits

Trait of objects that can be tested for point inclusion and projection.
Returns shape-specific info in addition to generic projection information
Traits of objects which can be transformed and tested for intersection with a ray.

Functions

Computes the pair of closest points between two shapes.
Computes one contact point between two shapes.
Computes the minimum distance separating two shapes.
Tests whether two shapes are in intersecting or separated by a distance smaller than margin.
Computes the smallest time of impact of two shapes under translational movement.