|
Momentum
A library for solving nonlinear optimization problems related to human body kinematics
|
Narrow-phase collision information for a pair of primitives. More...
#include <collision_geometry_state.h>
Public Attributes | |
| T | distance = T(0) |
| Distance between the primitive center features used by the narrow phase. | |
| Vector2< T > | closestPoints = Vector2<T>::Zero() |
| Parametric closest-point positions. Capsule entries use [0, 1]; centered primitives use 0. | |
| T | overlap = T(0) |
| Amount of overlap, positive when colliding. | |
| Vector3< T > | positionA = Vector3<T>::Zero() |
| Center feature position for the first primitive. | |
| Vector3< T > | positionB = Vector3<T>::Zero() |
| Center feature position for the second primitive. | |
| T | radiusA = T(0) |
| Effective radius of the first primitive along the contact direction. | |
| T | radiusB = T(0) |
| Effective radius of the second primitive along the contact direction. | |
Narrow-phase collision information for a pair of primitives.
Definition at line 78 of file collision_geometry_state.h.
| Vector2<T> momentum::CollisionOverlapResultT< T >::closestPoints = Vector2<T>::Zero() |
Parametric closest-point positions. Capsule entries use [0, 1]; centered primitives use 0.
Definition at line 83 of file collision_geometry_state.h.
Referenced by momentum::overlaps().
| T momentum::CollisionOverlapResultT< T >::distance = T(0) |
Distance between the primitive center features used by the narrow phase.
Definition at line 80 of file collision_geometry_state.h.
Referenced by momentum::CollisionErrorFunctionT< T >::getCollisionDebugInfo(), momentum::CollisionErrorFunctionStatelessT< T >::getGradient(), momentum::CollisionErrorFunctionT< T >::getGradient(), momentum::CollisionErrorFunctionStatelessT< T >::getJacobian(), momentum::CollisionErrorFunctionT< T >::getJacobian(), and momentum::overlaps().
| T momentum::CollisionOverlapResultT< T >::overlap = T(0) |
Amount of overlap, positive when colliding.
Definition at line 86 of file collision_geometry_state.h.
Referenced by momentum::CollisionErrorFunctionT< T >::getCollisionDebugInfo(), momentum::CollisionErrorFunctionStatelessT< T >::getError(), momentum::CollisionErrorFunctionT< T >::getError(), momentum::CollisionErrorFunctionStatelessT< T >::getGradient(), momentum::CollisionErrorFunctionT< T >::getGradient(), momentum::CollisionErrorFunctionStatelessT< T >::getJacobian(), momentum::CollisionErrorFunctionT< T >::getJacobian(), and momentum::overlaps().
| Vector3<T> momentum::CollisionOverlapResultT< T >::positionA = Vector3<T>::Zero() |
Center feature position for the first primitive.
Definition at line 89 of file collision_geometry_state.h.
Referenced by momentum::CollisionErrorFunctionStatelessT< T >::getGradient(), momentum::CollisionErrorFunctionT< T >::getGradient(), momentum::CollisionErrorFunctionStatelessT< T >::getJacobian(), momentum::CollisionErrorFunctionT< T >::getJacobian(), and momentum::overlaps().
| Vector3<T> momentum::CollisionOverlapResultT< T >::positionB = Vector3<T>::Zero() |
Center feature position for the second primitive.
Definition at line 92 of file collision_geometry_state.h.
Referenced by momentum::CollisionErrorFunctionStatelessT< T >::getGradient(), momentum::CollisionErrorFunctionT< T >::getGradient(), momentum::CollisionErrorFunctionStatelessT< T >::getJacobian(), momentum::CollisionErrorFunctionT< T >::getJacobian(), and momentum::overlaps().
| T momentum::CollisionOverlapResultT< T >::radiusA = T(0) |
Effective radius of the first primitive along the contact direction.
Definition at line 95 of file collision_geometry_state.h.
Referenced by momentum::CollisionErrorFunctionStatelessT< T >::getGradient(), momentum::CollisionErrorFunctionT< T >::getGradient(), momentum::CollisionErrorFunctionStatelessT< T >::getJacobian(), momentum::CollisionErrorFunctionT< T >::getJacobian(), and momentum::overlaps().
| T momentum::CollisionOverlapResultT< T >::radiusB = T(0) |
Effective radius of the second primitive along the contact direction.
Definition at line 98 of file collision_geometry_state.h.
Referenced by momentum::CollisionErrorFunctionStatelessT< T >::getGradient(), momentum::CollisionErrorFunctionT< T >::getGradient(), momentum::CollisionErrorFunctionStatelessT< T >::getJacobian(), momentum::CollisionErrorFunctionT< T >::getJacobian(), and momentum::overlaps().