NiTE 2.0
Public Member Functions
nite::Plane Class Reference

#include <NiTE.h>

Inheritance diagram for nite::Plane:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 Plane ()
 Plane (const Point3f &point, const Point3f &normal)

Detailed Description

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.


Constructor & Destructor Documentation

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.

Parameters:
[in]pointAny point on the plane
[in]normalThe normal vector of the plane, represented as a Point3f

The documentation for this class was generated from the following file: