![]() |
NiTE 2.0
|
#include <NiTE.h>
Public Member Functions | |
Plane () | |
Plane (const Point3f &point, const Point3f &normal) |
Enapsulates a geometrical plane. The plane is defined by a single point on that plane, and a normal vector to the plane. The normal vector is represented as a Point3f.
nite::Plane::Plane | ( | ) | [inline] |
Default constructor. Creates a plane that passes through the origin, and has a normal vector set to (0,0,0). Note that the default normal vector will make the plane generated by this function invalid for many mathematical operations, as it is a degenerate vector and has no direction.
nite::Plane::Plane | ( | const Point3f & | point, |
const Point3f & | normal | ||
) | [inline] |
Constructor. Creates a new point, given a single point on that plane and a normal vector.
[in] | point | Any point on the plane |
[in] | normal | The normal vector of the plane, represented as a Point3f |