Urho3D
|
Surface in three-dimensional space. More...
#include <Plane.h>
Public Member Functions | |
Plane () | |
Construct undefined. | |
Plane (const Plane &plane) | |
Copy-construct from another plane. | |
Plane (const Vector3 &v0, const Vector3 &v1, const Vector3 &v2) | |
Construct from 3 vertices. | |
Plane (const Vector3 &normal, const Vector3 &point) | |
Construct from a normal vector and a point on the 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 and a point. | |
float | Distance (const Vector3 &point) const |
Return signed distance to a point. |
Public Attributes | |
Vector3 | normal_ |
Plane normal. | |
Vector3 | absNormal_ |
Plane absolute normal. | |
float | intercept_ |
Plane intercept parameter. |
Surface in three-dimensional space.