|
SuperDex Physics C++ API
|
SDF distance information for active contact sample points. More...
#include <mochi_structs.h>
Public Attributes | |
| Span< Real3 const > | distanceGrads |
| SDF gradients at sample positions, in world frame. | |
| Span< real const > | distances |
| Signed distances [m] to the closest surface. | |
| real | maxSdfFarDistanceEvaluation = 0_r |
| Maximum distance [m] at which SDF evaluation was performed. | |
| Span< int const > | sampleIndices |
| Indices into the actor's contact sample points array. | |
| Span< Real3 const > | worldPositions |
| Sample positions [m] in world frame. | |
SDF distance information for active contact sample points.
Stores signed distance field (SDF) values and gradients for contact sample points. Negative distances indicate penetration into the surface.
Definition at line 490 of file mochi_structs.h.
SDF gradients at sample positions, in world frame.
Definition at line 497 of file mochi_structs.h.
Signed distances [m] to the closest surface.
Definition at line 495 of file mochi_structs.h.
| real superdex::SdfDistances::maxSdfFarDistanceEvaluation = 0_r |
Maximum distance [m] at which SDF evaluation was performed.
Definition at line 499 of file mochi_structs.h.
| Span<int const> superdex::SdfDistances::sampleIndices |
Indices into the actor's contact sample points array.
Definition at line 491 of file mochi_structs.h.
Sample positions [m] in world frame.
Definition at line 493 of file mochi_structs.h.