Expand description
The GJK algorithm for distance computation.
Structs§
- CSOPoint
- A point of a Configuration-Space Obstacle.
- Constant
Origin - A support mapping that is the point at (0.0, 0.0, 0.0).
- Constant
Point - A support mapping that is a single point.
- Dilated
Shape - The Minkowski sum of a shape and a ball.
- Voronoi
Simplex - A simplex of dimension up to 3 that uses Voronoï regions for computing point projections.
Enums§
- GJKResult
- Results of the GJK algorithm.
Functions§
- cast_
local_ ray - Casts a ray on a support map using the GJK algorithm.
- closest_
points - Projects the origin on a shape using the Separating Axis GJK algorithm.
The algorithm will stop as soon as the polytope can be proven to be at least
max_dist
away from the origin. - directional_
distance - Compute the normal and the distance that can travel
g1
along the directiondir
so thatg1
andg2
just touch. - eps_tol
- The absolute tolerance used by the GJK algorithm.
- project_
origin - Projects the origin on the boundary of the given shape.