#include <distance.h>
Public Member Functions | |
ComputeDistance (const CollisionGeometry *o1, const CollisionGeometry *o2) | |
bool | operator!= (const ComputeDistance &other) const |
CoalScalar | operator() (const Transform3s &tf1, const Transform3s &tf2, const DistanceRequest &request, DistanceResult &result) const |
bool | operator== (const ComputeDistance &other) const |
virtual | ~ComputeDistance () |
Protected Member Functions | |
virtual CoalScalar | run (const Transform3s &tf1, const Transform3s &tf2, const DistanceRequest &request, DistanceResult &result) const |
Protected Attributes | |
DistanceFunctionMatrix::DistanceFunc | func |
const CollisionGeometry * | o1 |
const CollisionGeometry * | o2 |
GJKSolver | solver |
bool | swap_geoms |
This class reduces the cost of identifying the geometry pair. This is mostly useful for repeated shape-shape queries.
Definition at line 73 of file coal/distance.h.
coal::ComputeDistance::ComputeDistance | ( | const CollisionGeometry * | o1, |
const CollisionGeometry * | o2 | ||
) |
Definition at line 110 of file src/distance.cpp.
|
inlinevirtual |
Definition at line 90 of file coal/distance.h.
|
inline |
Definition at line 86 of file coal/distance.h.
CoalScalar coal::ComputeDistance::operator() | ( | const Transform3s & | tf1, |
const Transform3s & | tf2, | ||
const DistanceRequest & | request, | ||
DistanceResult & | result | ||
) | const |
Definition at line 159 of file src/distance.cpp.
|
inline |
Definition at line 81 of file coal/distance.h.
|
protectedvirtual |
Definition at line 138 of file src/distance.cpp.
|
protected |
Definition at line 102 of file coal/distance.h.
|
mutableprotected |
Definition at line 90 of file coal/distance.h.
|
mutableprotected |
Definition at line 98 of file coal/distance.h.
|
mutableprotected |
Definition at line 100 of file coal/distance.h.
|
protected |
Definition at line 103 of file coal/distance.h.