#include <Plane.h>
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 )
|
inline |
default constructor
|
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(), DD::Image::Vector3::dot(), and DD::Image::Vector3::normalize().
|
inline |
distance between point and a plane
References DD::Image::Vector3::dot().
Referenced by DD::Image::ViewFrustum::getVisibility().
©2024 The Foundry Visionmongers, Ltd. All Rights Reserved. |