#include <Plane.h>
List of all members.
Public Member Functions |
| | Plane () |
| | Plane (const Vec3< T > &v1, const Vec3< T > &v2, const Vec3< T > &v3) |
| | Plane (const Vec3< T > &point, const Vec3< T > &normal) |
| | Plane (T a, T b, T c, T d) |
| void | set (const Vec3< T > &v1, const Vec3< T > &v2, const Vec3< T > &v3) |
| | Defines a plane using 3 points.
|
| void | set (const Vec3< T > &point, const Vec3< T > &normal) |
| | Defines a plane using a normal vector and a point.
|
| void | set (T a, T b, T c, T d) |
| | Defines a plane using 4 coefficients.
|
| Vec3< T > | getPoint () const |
| const Vec3< T > & | getNormal () const |
| T | getDistance () const |
| T | distance (const Vec3< T > &p) const |
| Vec3< T > | reflectPoint (const Vec3< T > &p) const |
| Vec3< T > | reflectVector (const Vec3< T > &v) const |
Public Attributes |
| Vec3< T > | mNormal |
| T | mDistance |
template<typename T>
class cinder::Plane< T >
Constructor & Destructor Documentation
Member Function Documentation
Defines a plane using 3 points.
Defines a plane using a normal vector and a point.
Defines a plane using 4 coefficients.
Member Data Documentation
The documentation for this class was generated from the following files: