14 #ifndef __F_LINEVEC_H__ 15 #define __F_LINEVEC_H__ 41 fLineVec(
double v1,
double v2,
double v3,
double v4,
double v5,
double v6) {
const fVec3 & Dir() const
fLineVec(double v1, double v2, double v3, double v4, double v5, double v6)
fLineVec(const fLineVec &v)
friend fVec3 & Org(fLineVec &v)
fVec3 position(double t) const
void set(double *v)
Set element values from array or three values.
const fVec3 & Org() const
friend int intersection(const fLineVec &lv1, const fLineVec &lv2, fVec3 &c1, fVec3 &c2, double &d, double eps)
fLineVec operator=(const fLineVec &vec)
friend ostream & operator<<(ostream &ost, fLineVec &v)
3x3 matrix and 3-element vector classes.
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=1e-8)
double * data()
Pointer to the first element.
friend fVec3 & Dir(fLineVec &v)
fLineVec(const fVec3 &v1, const fVec3 &v2)