base class for all query requests
More...
#include <coal/collision_data.h>
base class for all query requests
◆ QueryRequest() [1/2]
coal::QueryRequest::QueryRequest |
( |
| ) |
|
|
inline |
◆ QueryRequest() [2/2]
coal::QueryRequest::QueryRequest |
( |
const QueryRequest & |
other | ) |
|
|
default |
◆ operator=()
Copy assignment operator.
◆ operator==()
bool coal::QueryRequest::operator== |
( |
const QueryRequest & |
other | ) |
const |
|
inline |
◆ updateGuess()
void coal::QueryRequest::updateGuess |
( |
const QueryResult & |
result | ) |
const |
|
inline |
Updates the guess for the internal GJK algorithm in order to warm-start it when reusing this collision request on the same collision pair.
- Note
- The option
gjk_initial_guess
must be set to GJKInitialGuess::CachedGuess
for this to work.
◆ cached_gjk_guess
Vec3s coal::QueryRequest::cached_gjk_guess |
|
mutable |
the gjk initial guess set by user
◆ cached_support_func_guess
the support function initial guess set by user
◆ collision_distance_threshold
Scalar coal::QueryRequest::collision_distance_threshold |
threshold below which a collision is considered.
◆ enable_cached_gjk_guess
bool coal::QueryRequest::enable_cached_gjk_guess |
whether enable gjk initial guess @Deprecated Use gjk_initial_guess instead
◆ enable_timings
bool coal::QueryRequest::enable_timings |
enable timings when performing collision/distance request
◆ epa_max_iterations
size_t coal::QueryRequest::epa_max_iterations |
max number of iterations for EPA
◆ epa_tolerance
Scalar coal::QueryRequest::epa_tolerance |
tolerance for EPA. Note: This tolerance determines the precision on the estimated distance between two geometries which are in collision. It is recommended to not set this tolerance to less than 1e-6. Also, setting EPA's tolerance to less than GJK's is not recommended.
◆ gjk_convergence_criterion
convergence criterion used to stop GJK
◆ gjk_convergence_criterion_type
convergence criterion used to stop GJK
◆ gjk_initial_guess
◆ gjk_max_iterations
size_t coal::QueryRequest::gjk_max_iterations |
maximum iteration for the GJK algorithm
◆ gjk_tolerance
Scalar coal::QueryRequest::gjk_tolerance |
tolerance for the GJK algorithm. Note: This tolerance determines the precision on the estimated distance between two geometries which are not in collision. It is recommended to not set this tolerance to less than 1e-6.
◆ gjk_variant
whether to enable the Nesterov accleration of GJK
The documentation for this struct was generated from the following file: