DistFuncs.h
Go to the documentation of this file.
00001 #ifndef HRPCOLLISION_DISTFUNCS_H_INCLUDED
00002 #define HRPCOLLISION_DISTFUNCS_H_INCLUDED
00003 
00004 #include "Opcode/Opcode.h"
00005 #include "config.h"
00006 
00014 HRP_COLLISION_EXPORT float PointSegDist(const Point& P, const Point& u0, const Point& u1);
00015 
00024 HRP_COLLISION_EXPORT float SegSegDist(const Point& u0, const Point& u1,
00025                                       const Point& v0, const Point& v1);
00026 
00039 HRP_COLLISION_EXPORT float TriTriDist(const Point& U0, const Point& U1, const Point& U2,
00040                                       const Point& V0, const Point& V1, const Point& V2,
00041                                       Point& cp0, Point& cp1);
00042 
00043 
00044 #if 1
00045 #include <iostream>
00046 std::ostream &operator<<(std::ostream &ost, const Point& p);
00047 #endif
00048 
00049 #endif


openhrp3
Author(s): AIST, General Robotix Inc., Nakamura Lab of Dept. of Mechano Informatics at University of Tokyo
autogenerated on Thu Apr 11 2019 03:30:16