Tesla Graphics Engine Documentation (January 2012)
Plane Structure
TeslaTesla.MathPlane
Describes a mathematical plane with normal vector and plane constant d.
Declaration Syntax
C#
[SerializableAttribute]
public struct Plane : IEquatable<Plane>
Members
All Members Constructors Methods Fields



Icon Member Description
Plane(Single, Single, Single, Single)
Construct a plane from the specified components.

Plane(Vector3, Single)
Construct a plane from the specified normal and D values.

Plane(Vector4)
Construct a plane from a Vector4 where (x,y,z) contain the normal vector, and w contains D.

Plane(Vector3, Vector3, Vector3)
Construct a plane from three points.

D
The distance of the plane along its normal from the origin.

Dot(Plane, Vector4)
Compute the dot product between the specified plane and vector4.

Dot(Plane%, Vector4%, Single%)
Compute the dot product between the specified plane and vector4.

DotCoordinate(Plane, Vector3)
Compute the dot product between the specified plane's normal and vector3 plus the plane's D component.

DotCoordinate(Plane%, Vector3%, Single%)
Compute the dot product between the specified plane's normal and vector3 plus the plane's D component.

DotNormal(Plane, Vector3)
Compute the dot product between the specified plane's normal and vector3.

DotNormal(Plane%, Vector3%, Single%)
Compute the dot product between the specified plane's normal and vector3.

Equality(Plane, Plane)
Tests whether two instances of Plane are equal.

Equals(Plane)
Tests whether this Plane is equal to the supplied Plane.

Equals(Object)
Tests whether this object is equal to the supplied object.
(Overrides ValueType.Equals(Object).)
GetHashCode()()()()
Get the hash code for this object.
(Overrides ValueType.GetHashCode()()()().)
GetType()()()()
Gets the Type of the current instance.
(Inherited from Object.)
Inequality(Plane, Plane)
Tests whether two instances of Plane are not equal.

Normal
The normal vector of the plane.

Normalize()()()()
Normalize this plane so its normal of unit count.

Normalize(Plane)
Normalize a plane's normal vector to unit count.

Normalize(Plane%, Plane%)
Normalize a plane's normal vector to unit count.

ToString()()()()
Get the string repesentation of this object.
(Overrides ValueType.ToString()()()().)
Transform(Plane, Matrix)
Transforms a normalized plane by a matrix. The Plane MUST be normalized before using this method.

Transform(Plane%, Matrix%, Plane%)
Transforms a normalized plane by a matrix. The Plane MUST be normalized before using this method.

Transform(Plane, Quaternion)
Transforms a normalized plane by a rotation quaternion. The Plane MUST be normalized before using this method.

Transform(Plane%, Quaternion%, Plane%)
Transforms a normalized plane by a rotation quaternion. The Plane MUST be normalized before using this method.

Assembly: Tesla (Module: Tesla) Version: 0.5.0.0 (0.5.0.0)