Public Member Functions | |
| Plane () | |
| Plane (const Plane &plane) | |
| Plane (const Vector3 &n, const Vector3 &p) | |
| Plane (const Vector3 &p0, const Vector3 &p1, const Vector3 &p2) | |
| float | distance (const Vector3 &p) const |
Public Attributes | |
| Vector3 | normal |
| float | d |
A plane in 3D space ( nx*x + ny*y + nz*z + d = 0 )
| DD::Image::Plane::Plane | ( | ) | [inline] |
default constructor
| DD::Image::Plane::Plane | ( | const Plane & | plane | ) | [inline] |
copy constructor
define a plane from a normal and a point on the plane
References DD::Image::Vector3::dot().
define a plane by three points
References DD::Image::Vector3::cross(), and DD::Image::Vector3::normalize().
| float DD::Image::Plane::distance | ( | const Vector3 & | p | ) | const [inline] |
distance between point and a plane
Referenced by DD::Image::ViewFrustum::getVisibility().