VclipLinkPair.h
Go to the documentation of this file.
1 #include <hrpModel/Link.h>
3 
4 class VclipLinkPair : public hrp::Referenced {
5 public:
6  VclipLinkPair(hrp::Link* link0, Vclip::Polyhedron* pqp_model0, hrp::Link* link1, Vclip::Polyhedron* pqp_model1, double tolerance=0);
8  bool checkCollision();
9  double computeDistance(double *q1, double *q2);
10  hrp::Link* link(int index) { return links_[index]; }
11  double getTolerance() { return tolerance_; }
12  void setTolerance(double t) { tolerance_ = t; }
13 
14 private:
18  double tolerance_;
19 };
20 
21 typedef boost::intrusive_ptr<VclipLinkPair> VclipLinkPairPtr;
22 
boost::intrusive_ptr< VclipLinkPair > VclipLinkPairPtr
Definition: VclipLinkPair.h:21
hrp::Link * links_[2]
Definition: VclipLinkPair.h:15
Vclip::Polyhedron * Vclip_Model2
Definition: VclipLinkPair.h:16
double computeDistance(double *q1, double *q2)
void setTolerance(double t)
Definition: VclipLinkPair.h:12
VclipLinkPair(hrp::Link *link0, Vclip::Polyhedron *pqp_model0, hrp::Link *link1, Vclip::Polyhedron *pqp_model1, double tolerance=0)
hrp::Link * link(int index)
Definition: VclipLinkPair.h:10
double getTolerance()
Definition: VclipLinkPair.h:11
Vclip::FeaturePair Feature_Pair
Definition: VclipLinkPair.h:17
Vclip::Polyhedron * Vclip_Model1
Definition: VclipLinkPair.h:16
double tolerance_
Definition: VclipLinkPair.h:18
bool checkCollision()


hrpsys
Author(s): AIST, Fumio Kanehiro
autogenerated on Thu May 6 2021 02:41:51