Shift
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Pages
Shift.Plane Struct Reference
Inheritance diagram for Shift.Plane:

Public Member Functions

 Plane (Vector4 value)
 
 Plane (Vector3 normal, float d)
 
 Plane (Vector3 a, Vector3 b, Vector3 c)
 
 Plane (float a, float b, float c, float d)
 
float Dot (Vector4 value)
 
void Dot (ref Vector4 value, out float result)
 
float DotCoordinate (Vector3 value)
 
void DotCoordinate (ref Vector3 value, out float result)
 
float DotNormal (Vector3 value)
 
void DotNormal (ref Vector3 value, out float result)
 
void Normalize ()
 
override bool Equals (object other)
 
bool Equals (Plane other)
 
override int GetHashCode ()
 
override string ToString ()
 

Static Public Member Functions

static Plane Transform (Plane plane, Matrix matrix)
 Transforms a normalized plane by a matrix. More...
 
static void Transform (ref Plane plane, ref Matrix matrix, out Plane result)
 Transforms a normalized plane by a matrix. More...
 
static Plane Transform (Plane plane, Quaternion rotation)
 Transforms a normalized plane by a quaternion rotation. More...
 
static void Transform (ref Plane plane, ref Quaternion rotation, out Plane result)
 Transforms a normalized plane by a quaternion rotation. More...
 
static Plane Normalize (Plane value)
 
static void Normalize (ref Plane value, out Plane result)
 
static bool operator!= (Plane plane1, Plane plane2)
 
static bool operator== (Plane plane1, Plane plane2)
 

Public Attributes

float D
 
Vector3 Normal
 

Static Public Attributes

static readonly int SizeInBytes = System.Runtime.InteropServices.Marshal.SizeOf(new Plane())
 Defines the size of the Plane struct in bytes. More...
 

Detailed Description

Definition at line 9 of file Plane.cs.

Constructor & Destructor Documentation

Shift.Plane.Plane ( Vector4  value)
inline

Definition at line 22 of file Plane.cs.

Shift.Plane.Plane ( Vector3  normal,
float  d 
)
inline

Definition at line 28 of file Plane.cs.

Shift.Plane.Plane ( Vector3  a,
Vector3  b,
Vector3  c 
)
inline

Definition at line 34 of file Plane.cs.

Shift.Plane.Plane ( float  a,
float  b,
float  c,
float  d 
)
inline

Definition at line 44 of file Plane.cs.

Member Function Documentation

float Shift.Plane.Dot ( Vector4  value)
inline

Definition at line 50 of file Plane.cs.

void Shift.Plane.Dot ( ref Vector4  value,
out float  result 
)
inline

Definition at line 55 of file Plane.cs.

float Shift.Plane.DotCoordinate ( Vector3  value)
inline

Definition at line 60 of file Plane.cs.

void Shift.Plane.DotCoordinate ( ref Vector3  value,
out float  result 
)
inline

Definition at line 65 of file Plane.cs.

float Shift.Plane.DotNormal ( Vector3  value)
inline

Definition at line 70 of file Plane.cs.

void Shift.Plane.DotNormal ( ref Vector3  value,
out float  result 
)
inline

Definition at line 75 of file Plane.cs.

override bool Shift.Plane.Equals ( object  other)
inline

Definition at line 177 of file Plane.cs.

bool Shift.Plane.Equals ( Plane  other)
inline

Definition at line 182 of file Plane.cs.

override int Shift.Plane.GetHashCode ( )
inline

Definition at line 187 of file Plane.cs.

void Shift.Plane.Normalize ( )
inline

Definition at line 141 of file Plane.cs.

static Plane Shift.Plane.Normalize ( Plane  value)
inlinestatic

Definition at line 151 of file Plane.cs.

static void Shift.Plane.Normalize ( ref Plane  value,
out Plane  result 
)
inlinestatic

Definition at line 158 of file Plane.cs.

static bool Shift.Plane.operator!= ( Plane  plane1,
Plane  plane2 
)
inlinestatic

Definition at line 167 of file Plane.cs.

static bool Shift.Plane.operator== ( Plane  plane1,
Plane  plane2 
)
inlinestatic

Definition at line 172 of file Plane.cs.

override string Shift.Plane.ToString ( )
inline

Definition at line 203 of file Plane.cs.

static Plane Shift.Plane.Transform ( Plane  plane,
Matrix  matrix 
)
inlinestatic

Transforms a normalized plane by a matrix.

Parameters
planeThe normalized plane to transform.
matrixThe transformation matrix.
Returns
The transformed plane.

Definition at line 86 of file Plane.cs.

static void Shift.Plane.Transform ( ref Plane  plane,
ref Matrix  matrix,
out Plane  result 
)
inlinestatic

Transforms a normalized plane by a matrix.

Parameters
planeThe normalized plane to transform.
matrixThe transformation matrix.
resultThe transformed plane.

Definition at line 99 of file Plane.cs.

static Plane Shift.Plane.Transform ( Plane  plane,
Quaternion  rotation 
)
inlinestatic

Transforms a normalized plane by a quaternion rotation.

Parameters
planeThe normalized plane to transform.
rotationThe quaternion rotation.
Returns
The transformed plane.

Definition at line 122 of file Plane.cs.

static void Shift.Plane.Transform ( ref Plane  plane,
ref Quaternion  rotation,
out Plane  result 
)
inlinestatic

Transforms a normalized plane by a quaternion rotation.

Parameters
planeThe normalized plane to transform.
rotationThe quaternion rotation.
resultThe transformed plane.

Definition at line 135 of file Plane.cs.

Member Data Documentation

float Shift.Plane.D

Definition at line 17 of file Plane.cs.

Vector3 Shift.Plane.Normal

Definition at line 20 of file Plane.cs.

readonly int Shift.Plane.SizeInBytes = System.Runtime.InteropServices.Marshal.SizeOf(new Plane())
static

Defines the size of the Plane struct in bytes.

Definition at line 14 of file Plane.cs.


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