Public Member Functions | |
Line3 () | |
Line3 (const Point3 &origin, const Vector3 &direction) | |
Line3 (const Segment3 &seg) | |
Line3 (const Line3 &l) | |
~Line3 () | |
Line3 & | operator= (const Line3 &l) |
bool | operator== (const Line3 &l) const |
bool | operator!= (const Line3 &l) const |
bool | equals (const Line3 &l, Real epsilon=consts::epsilon) const |
Real | distanceTo (const Point3 &p) const |
shortest distance between line and p | |
Real | distanceTo (const Line3 &l2) const |
shortest distance between line and line l2 | |
Point3 | pointClosestTo (const Point3 &p) const |
find point on the line that is closest to p | |
bool | contains (const Point3 &p) const |
is point p on the line? | |
Segment3 | shortestSegmentBetween (const Line3 &l2) const |
return shortest segment between this line and line l2 | |
Public Attributes | |
Point3 | o |
origin | |
Vector3 | d |
direction |
|
|
|
Definition at line 44 of file Line3. References base::Vector3::normalize(), and base::Point3. |
|
Definition at line 46 of file Line3. References base::Vector3::normalize(). |
|
|
|
|
|
is point p on the line?
Definition at line 98 of file Line3. References base::Vector3::equals(), and base::Point3. |
|
shortest distance between line and line l2
Definition at line 87 of file Line3. References gfx::Segment3::length(), and shortestSegmentBetween(). |
|
shortest distance between line and p
Definition at line 80 of file Line3. References base::Vector3::length(), and base::Point3. |
|
Definition at line 73 of file Line3. References d, base::Vector3::equals(), and o. |
|
|
|
Definition at line 52 of file Line3. References d, base::Vector3::normalize(), and o. |
|
|
|
find point on the line that is closest to p
Definition at line 91 of file Line3. References base::Point3. |
|
return shortest segment between this line and line l2
Referenced by distanceTo(). |
|
direction
Definition at line 112 of file Line3. Referenced by equals(), operator!=(), gfx::operator<<(), operator=(), and operator==(). |
|
origin
Definition at line 111 of file Line3. Referenced by equals(), operator!=(), gfx::operator<<(), operator=(), and operator==(). |