Archon::Math::Plane3 Struct Reference

Oriented plane. More...

#include <archon/math/geometry.H>

Collaboration diagram for Archon::Math::Plane3:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 Plane3 ()
 Plane3 (Vector3 normal, double dist)
 Plane3 (Vector3 normal, Vector3 point)

Public Attributes

Vector3 normal
 Plane normal of unit length.
double dist
 Distance to origin along the normal.

Detailed Description

Oriented plane.

The plane equation on normal form is:

normal.x * x + normal.y * y + normal.z * z + dist = 0

Definition at line 46 of file geometry.H.


Member Data Documentation

double Archon::Math::Plane3::dist
 

Distance to origin along the normal.

That is, along a line parallel with the normal and running through the origin. May be negative, of course.

Definition at line 61 of file geometry.H.

Referenced by Archon::Math::intersect().

Vector3 Archon::Math::Plane3::normal
 

Plane normal of unit length.

The direction determines which side of the plane is the front side. That is, if the normal is drawn fron some point on the plane, then it points to a location in front of the plane.

Definition at line 54 of file geometry.H.

Referenced by Archon::Math::intersect().


The documentation for this struct was generated from the following file:
Generated on Sun Jul 30 22:56:56 2006 for Archon by  doxygen 1.4.4