Urho3D
Public Member Functions | Public Attributes
Urho3D::Plane Class Reference

Surface in three-dimensional space. More...

#include <Plane.h>

List of all members.

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.

Detailed Description

Surface in three-dimensional space.


The documentation for this class was generated from the following file: