distance3d.gjk.gjk_nesterov_accelerated_distance

distance3d.gjk.gjk_nesterov_accelerated_distance(collider1, collider2)[source]

Nesterov-accelerated GJK algorithm for distance calculation.

This implementation is based on the Paper “Collision Detection Accelerated: An Optimization Perspective” https://lmontaut.github.io/nesterov-gjk.github.io/ and highly inspired by the C++ implementation in of the Authors: https://github.com/humanoid-path-planner/hpp-fcl/blob/devel/src/narrowphase/gjk.cpp

Parameters:
collider1ConvexCollider

Convex collider 1.

collider2ConvexCollider

Convex collider 2.

Returns:
contactbool

Shapes collide