|
FdkBaseLib 2.1.1
|
A 3D plane in normalized form. More...
#include <Plane.h>
Public Member Functions | |
| Plane (const Vec3< T > &n, const Vec3< T > &p) | |
| Define a plane from a normal and a point on the plane. | |
| Plane (const Vec3< T > &p0, const Vec3< T > &p1, const Vec3< T > &p2) | |
| Construct a plane from three points on the plane. | |
| T | distance (const Vec3< T > &p) const |
| Return the signed distance between a point and the plane. | |
| Plane | transform (const Mat4< T > &m) const |
| Transform the plane by matrix m. | |
Public Attributes | |
| Vec3< T > | normal |
| The normal to the plane. | |
| T | d |
| The distance from the plane to the origin. | |
A 3D plane in normalized form.
| ©2024 The Foundry Visionmongers, Ltd. All Rights Reserved. |