Stellarium
HEAD
|
A simple line class, identified by a point and a direction vector. More...
#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 |
A simple line class, identified by a point and a direction vector.