Stellarium
0.18.3
|
A simple line class, identified by a point and a direction vector.
#include <GeomMath.hpp>
Public Member Functions | |
Line (const Vec3f &p, const Vec3f &dir) | |
Constructs a line given a start point and a direction vector. | |
Vec3f | getPoint (float val) const |
Gets the point that lies on the line according to the equation startPoint + val * direction . | |
Data Fields | |
Vec3f | startPoint |
Vec3f | endPoint |
Equals startPoint + direction. | |
Vec3f | direction |