#include <fLineVec.h>
Public Member Functions | |
fVec3 & | Dir () |
const fVec3 & | Dir () const |
void | Dir (fVec3 &v) |
double | distance (const fVec3 &point, fVec3 &pos, double *k=0) |
fLineVec () | |
fLineVec (const fLineVec &v) | |
fLineVec (const fVec3 &v1, const fVec3 &v2) | |
fLineVec (double v1, double v2, double v3, double v4, double v5, double v6) | |
fLineVec | operator= (const fLineVec &vec) |
void | operator= (double d) |
fVec3 & | Org () |
const fVec3 & | Org () const |
void | Org (fVec3 &v) |
double * | pDir () |
double * | pOrg () |
fVec3 | position (double t) const |
void | position (double t, fVec3 &p) const |
void | set (const fLineVec &vec) |
void | set (const fVec3 &_org, const fVec3 &_dir) |
~fLineVec () | |
Protected Attributes | |
double | temp |
fVec3 | v_dir |
fVec3 | v_org |
Friends | |
fVec3 & | Dir (fLineVec &v) |
int | intersection (const fLineVec &lv1, const fLineVec &lv2, fVec3 &c1, fVec3 &c2, double &d, double eps) |
ostream & | operator<< (ostream &ost, fLineVec &v) |
fVec3 & | Org (fLineVec &v) |
Definition at line 23 of file fLineVec.h.
fLineVec::fLineVec | ( | ) | [inline] |
Definition at line 26 of file fLineVec.h.
fLineVec::fLineVec | ( | const fLineVec & | v | ) | [inline] |
Definition at line 31 of file fLineVec.h.
fLineVec::fLineVec | ( | const fVec3 & | v1, |
const fVec3 & | v2 | ||
) | [inline] |
Definition at line 36 of file fLineVec.h.
fLineVec::fLineVec | ( | double | v1, |
double | v2, | ||
double | v3, | ||
double | v4, | ||
double | v5, | ||
double | v6 | ||
) | [inline] |
Definition at line 41 of file fLineVec.h.
fLineVec::~fLineVec | ( | ) | [inline] |
Definition at line 49 of file fLineVec.h.
fVec3& fLineVec::Dir | ( | ) | [inline] |
Definition at line 71 of file fLineVec.h.
const fVec3& fLineVec::Dir | ( | ) | const [inline] |
Definition at line 77 of file fLineVec.h.
void fLineVec::Dir | ( | fVec3 & | v | ) | [inline] |
Definition at line 84 of file fLineVec.h.
double fLineVec::distance | ( | const fVec3 & | point, |
fVec3 & | pos, | ||
double * | k = 0 |
||
) |
Definition at line 73 of file fLineVec.cpp.
Definition at line 52 of file fLineVec.h.
void fLineVec::operator= | ( | double | d | ) | [inline] |
Definition at line 57 of file fLineVec.h.
fVec3& fLineVec::Org | ( | ) | [inline] |
Definition at line 68 of file fLineVec.h.
const fVec3& fLineVec::Org | ( | ) | const [inline] |
Definition at line 74 of file fLineVec.h.
void fLineVec::Org | ( | fVec3 & | v | ) | [inline] |
Definition at line 81 of file fLineVec.h.
double* fLineVec::pDir | ( | ) | [inline] |
Definition at line 102 of file fLineVec.h.
double* fLineVec::pOrg | ( | ) | [inline] |
Definition at line 99 of file fLineVec.h.
fVec3 fLineVec::position | ( | double | t | ) | const |
Definition at line 22 of file fLineVec.cpp.
void fLineVec::position | ( | double | t, |
fVec3 & | p | ||
) | const |
Definition at line 30 of file fLineVec.cpp.
void fLineVec::set | ( | const fLineVec & | vec | ) | [inline] |
Definition at line 88 of file fLineVec.h.
Definition at line 92 of file fLineVec.h.
Definition at line 65 of file fLineVec.h.
int intersection | ( | const fLineVec & | lv1, |
const fLineVec & | lv2, | ||
fVec3 & | c1, | ||
fVec3 & | c2, | ||
double & | d, | ||
double | eps | ||
) | [friend] |
Definition at line 36 of file fLineVec.cpp.
ostream& operator<< | ( | ostream & | ost, |
fLineVec & | v | ||
) | [friend] |
Definition at line 16 of file fLineVec.cpp.
Definition at line 62 of file fLineVec.h.
double fLineVec::temp [protected] |
Definition at line 128 of file fLineVec.h.
fVec3 fLineVec::v_dir [protected] |
Definition at line 127 of file fLineVec.h.
fVec3 fLineVec::v_org [protected] |
Definition at line 126 of file fLineVec.h.