Pathfinder
|
This struct represents a 3D line of the form u = v + rw. More...
#include <Line3.h>
Public Member Functions | |
Geometry::Vec3 | eval (const float &r) |
Evaluate the line function for a given r. More... | |
Public Attributes | |
Geometry::Vec3 | v |
The support vector. More... | |
Geometry::Vec3 | w |
The direction vector. More... | |
This struct represents a 3D line of the form u = v + rw.
Geometry::Vec3 Pathfinder::Line3::eval | ( | const float & | r | ) |
Evaluate the line function for a given r.
Given an r, scale the direction vector by r and add the support vector to the result. The resulting vector is the corresponding point to r in respect to this line.
r | The modifier for the direction vector. |
Geometry::Vec3 Pathfinder::Line3::v |
The support vector.
Geometry::Vec3 Pathfinder::Line3::w |
The direction vector.