Struct DistanceRequest

Inheritance Relationships

Base Type

Struct Documentation

struct DistanceRequest : public hpp::fcl::QueryRequest

request to the distance computation

Public Functions

inline DistanceRequest(bool enable_nearest_points_ = false, FCL_REAL rel_err_ = 0.0, FCL_REAL abs_err_ = 0.0)
Parameters:
  • enable_nearest_points_ – enables the nearest points computation.

  • rel_err_

  • abs_err_

bool isSatisfied(const DistanceResult &result) const
inline bool operator==(const DistanceRequest &other) const

whether two DistanceRequest are the same or not

Public Members

bool enable_nearest_points

whether to return the nearest points

FCL_REAL rel_err

error threshold for approximate distance

FCL_REAL abs_err