Choreonoid  1.8
DistFuncs.h
Go to the documentation of this file.
1 
2 #ifndef CNOID_AIST_COLLISION_DETECTOR_DIST_FUNCS_H_INCLUDED
3 #define CNOID_AIST_COLLISION_DETECTOR_DIST_FUNCS_H_INCLUDED
4 
5 #include "Opcode/Opcode.h"
6 
7 namespace Opcode {
8 
16 float PointSegDist(const Point& P, const Point& u0, const Point& u1);
17 
26 float SegSegDist(const Point& u0, const Point& u1, const Point& v0, const Point& v1);
27 
40 float TriTriDist(const Point& U0, const Point& U1, const Point& U2,
41  const Point& V0, const Point& V1, const Point& V2,
42  Point& cp0, Point& cp1);
43 }
44 
45 #endif