The Plane class defines a plane using a normal and an origin.
More...
#include <Plane.hpp>
List of all members.
Detailed Description
The Plane class defines a plane using a normal and an origin.
Constructor & Destructor Documentation
| vl::Plane::Plane |
( |
Real |
o = 0.0f, |
|
|
vec3 |
n = vec3(0,0,0) |
|
) |
| [inline] |
| vl::Plane::Plane |
( |
const vec3 & |
o, |
|
|
const vec3 & |
n |
|
) |
| [inline] |
Member Function Documentation
| virtual const char* vl::Plane::className |
( |
) |
[inline, virtual] |
Returns the name of the class.
Reimplemented from vl::Object.
| Real Plane::distance |
( |
const vec3 & |
v ) |
const |
| int Plane::classify |
( |
const AABB & |
aabb ) |
const |
returns 0 if the AABB intersects the plane, 1 if it's in the positive side, -1 if it's in the negative side.
| bool Plane::isOutside |
( |
const AABB & |
aabb ) |
const |
| const vec3& vl::Plane::normal |
( |
) |
const [inline] |
| Real vl::Plane::origin |
( |
) |
const [inline] |
| void vl::Plane::setNormal |
( |
const vec3 & |
normal ) |
[inline] |
| void vl::Plane::setOrigin |
( |
Real |
origin ) |
[inline] |
Member Data Documentation
The documentation for this class was generated from the following files:
- C:/VL/BuildSystem/VL_DISTRO/Visualization_Library_SDK/src/vl/Plane.hpp
- C:/VL/BuildSystem/VL_DISTRO/Visualization_Library_SDK/src/vl/Plane.cpp