AI_Line3 Class Reference
[Mathematics]
#include <AI_Line.h>
Detailed Description
a line in 3d space
- 04-Dec-01 floh bugfix: AI_Line3::len() was broken
Public Member Functions | |
| AI_Line3 () | |
| AI_Line3 (const AI_Vector3 &v0, const AI_Vector3 &v1) | |
| AI_Line3 (const AI_Line3 &l) | |
| void | set (const AI_Vector3 &v0, const AI_Vector3 &v1) |
| const AI_Vector3 & | start (void) const |
| AI_Vector3 | end (void) const |
| float | len (void) const |
| float | len_squared (void) const |
| float | distance (const AI_Vector3 &p) |
| AI_Vector3 | ipol (const float t) const |
Public Attributes | |
| AI_Vector3 | b |
| AI_Vector3 | m |
Constructor & Destructor Documentation
| AI_Line3::AI_Line3 | ( | ) | [inline] |
| AI_Line3::AI_Line3 | ( | const AI_Vector3 & | v0, | |
| const AI_Vector3 & | v1 | |||
| ) | [inline] |
| AI_Line3::AI_Line3 | ( | const AI_Line3 & | l | ) | [inline] |
Member Function Documentation
| void AI_Line3::set | ( | const AI_Vector3 & | v0, | |
| const AI_Vector3 & | v1 | |||
| ) | [inline] |
| const AI_Vector3& AI_Line3::start | ( | void | ) | const [inline] |
| AI_Vector3 AI_Line3::end | ( | void | ) | const [inline] |
| float AI_Line3::len | ( | void | ) | const [inline] |
| float AI_Line3::len_squared | ( | void | ) | const [inline] |
| float AI_Line3::distance | ( | const AI_Vector3 & | p | ) | [inline] |
| AI_Vector3 AI_Line3::ipol | ( | const float | t | ) | const [inline] |
Member Data Documentation
The documentation for this class was generated from the following file:
