|
|
| Plane () noexcept |
| | Construct a degenerate plane with zero normal and parameter.
|
| |
|
| Plane (const Plane &plane) noexcept=default |
| | Copy-construct from another plane.
|
| |
|
| Plane (const Vector3 &v0, const Vector3 &v1, const Vector3 &v2) noexcept |
| | Construct from 3 vertices.
|
| |
|
| Plane (const Vector3 &normal, const Vector3 &point) noexcept |
| | Construct from a normal vector and a point on the plane.
|
| |
|
| Plane (const Vector4 &plane) noexcept |
| | Construct from a 4-dimensional vector, where the w coordinate is the plane parameter.
|
| |
|
Plane & | operator= (const Plane &rhs) noexcept=default |
| | Assign from another plane.
|
| |
|
void | Define (const Vector3 &v0, const Vector3 &v1, const Vector3 &v2) |
| | Define from 3 vertices.
|
| |
|
void | Define (const Vector3 &normal, const Vector3 &point) |
| | Define from a normal vector and a point on the plane.
|
| |
|
void | Define (const Vector4 &plane) |
| | Define from a 4-dimensional vector, where the w coordinate is the plane parameter.
|
| |
|
void | Transform (const Matrix3 &transform) |
| | Transform with a 3x3 matrix.
|
| |
|
void | Transform (const Matrix3x4 &transform) |
| | Transform with a 3x4 matrix.
|
| |
|
void | Transform (const Matrix4 &transform) |
| | Transform with a 4x4 matrix.
|
| |
|
Vector3 | Project (const Vector3 &point) const |
| | Project a point on the plane.
|
| |
|
float | Distance (const Vector3 &point) const |
| | Return signed distance to a point.
|
| |
|
Vector3 | Reflect (const Vector3 &direction) const |
| | Reflect a normalized direction vector.
|
| |
| Matrix3x4 | ReflectionMatrix () const |
| |
|
Plane | Transformed (const Matrix3 &transform) const |
| | Return transformed by a 3x3 matrix.
|
| |
|
Plane | Transformed (const Matrix3x4 &transform) const |
| | Return transformed by a 3x4 matrix.
|
| |
|
Plane | Transformed (const Matrix4 &transform) const |
| | Return transformed by a 4x4 matrix.
|
| |
|
Vector3 | GetPoint () const |
| | Returns closest point to origin.
|
| |
|
Ray | Intersect (const Plane &other) const |
| | Returns a line that defines an intersection of 2 planes.
|
| |
|
Vector3 | Intersect (const Plane &planeB, const Plane &planeC) const |
| | Returns a point that defines an intersection of 3 planes.
|
| |
|
Vector4 | ToVector4 () const |
| | Return as a vector.
|
| |
Surface in three-dimensional space.