#include <line3d.h>
| line3d | ( | ) | [inline] |
| line3d | ( | T | xa, | |
| T | ya, | |||
| T | za, | |||
| T | xb, | |||
| T | yb, | |||
| T | zb | |||
| ) | [inline] |
| vector3d<T> getHorizontalAngle | ( | ) | [inline] |
Returns if the line intersects with a shpere
| sorigin,: | Origin of the shpere. | |
| sradius,: | Radius if the sphere. | |
| outdistance,: | Distance to the first intersection point |
| f64 getLength | ( | ) | const [inline] |
Returns length of line
| f64 getLengthSQ | ( | ) | const [inline] |
Returns sqared length of line
| vector3d<T> getMiddle | ( | ) | const [inline] |
| vector3d<T> getVector | ( | ) | const [inline] |
Returns if the overgiven point is between start and end of the line. Assumes that the point is already somewhere on the line.
| void setLine | ( | const line3d< T > & | line | ) | [inline] |
| void setLine | ( | const T & | xa, | |
| const T & | ya, | |||
| const T & | za, | |||
| const T & | xb, | |||
| const T & | yb, | |||
| const T & | zb | |||
| ) | [inline] |
1.5.1-p1