Go to the documentation of this file.
42 double dd11, dd12, dd22;
43 double dp11, dp12, dp21, dp22;
53 f = dd11*dd22 - dd12*dd12;
64 t1 = (dd22*g1 - dd12*g2) /
f;
65 t2 = (dd12*g1 - dd11*g2) /
f;
friend fVec3 & Dir(fLineVec &v)
friend fVec3 & Org(fLineVec &v)
ostream & operator<<(ostream &ost, fLineVec &v)
fVec3 position(double t) const
void sub(const fVec3 &vec1, const fVec3 &vec2)
double distance(const fVec3 &point, fVec3 &pos, double *k=0)
int intersection(const fLineVec &lv1, const fLineVec &lv2, fVec3 &c1, fVec3 &c2, double &d, double eps)
void mul(const fVec3 &vec, double d)
openhrp3
Author(s): AIST, General Robotix Inc., Nakamura Lab of Dept. of Mechano Informatics at University of Tokyo
autogenerated on Wed Sep 7 2022 02:51:02