![]() |
Stellarium
0.16.1
|
A simple line class, identified by a point and a direction vector. More...
#include <GeomMath.hpp>
Collaboration diagram for Line:Public Member Functions | |
| Line (const Vec3f &p, const Vec3f &dir) | |
| Constructs a line given a start point and a direction vector. More... | |
| Vec3f | getPoint (float val) |
Gets the point that lies on the line according to the equation startPoint + val * direction. More... | |
Public Attributes | |
| Vec3f | startPoint |
| Vec3f | endPoint |
| Equals startPoint + direction. More... | |
| Vec3f | direction |
A simple line class, identified by a point and a direction vector.
Definition at line 99 of file GeomMath.hpp.
Constructs a line given a start point and a direction vector.
| Vec3f Line::getPoint | ( | float | val | ) |
Gets the point that lies on the line according to the equation startPoint + val * direction.
| Vec3f Line::endPoint |
Equals startPoint + direction.
Definition at line 107 of file GeomMath.hpp.
1.8.11