Rect3D Struct Reference

Represents a 2D rect that exists in 3D space and is not axis-aligned. More...

List of all members.

Public Member Functions

void FromPoints (Vector3 tl, Vector3 tr, Vector3 bl)
 Defines a 3D rectangle from three points which must form a right-triangle.
 Rect3D (Vector3 tl, Vector3 tr, Vector3 bl)
 Constructs a new 3D rectangle from three points which must form a right-triangle.
 Rect3D (Rect r)
 Constructs a new 3D rectangle from a standard Rect.
Rect GetRect ()
 Returns a Rect just using the x and y coordinates of the 3D rect.
void FromRect (Rect r)
 Defines a Rect3D from a standard Rect.
void MultFast (Matrix4x4 matrix)
 Multiplies the points in the Rect3D by the specified matrix in a non-projective way. Alters the contents of the Rect3D.

Static Public Member Functions

static Rect3D MultFast (Rect3D rect, Matrix4x4 matrix)
 Multiplies the points in the specified Rect3D by the specified matrix in a non-projective way and returns the result.

Detailed Description

Represents a 2D rect that exists in 3D space and is not axis-aligned.


Constructor & Destructor Documentation

Rect3D.Rect3D ( Vector3  tl,
Vector3  tr,
Vector3  bl 
)

Constructs a new 3D rectangle from three points which must form a right-triangle.

Parameters:
tl The top-left point
tr The top-right point
bl The bottom-left point
Rect3D.Rect3D ( Rect  r  ) 

Constructs a new 3D rectangle from a standard Rect.

Parameters:
r A Rect upon which the 3D rect will be based.

Member Function Documentation

void Rect3D.FromPoints ( Vector3  tl,
Vector3  tr,
Vector3  bl 
)

Defines a 3D rectangle from three points which must form a right-triangle.

Parameters:
tl The top-left point
tr The top-right point
bl The bottom-left point
void Rect3D.FromRect ( Rect  r  ) 

Defines a Rect3D from a standard Rect.

Parameters:
r The rect from which to define the 3D rect.
Rect Rect3D.GetRect (  ) 

Returns a Rect just using the x and y coordinates of the 3D rect.

Returns:
A new Rect based upon the X,Y coordinates of the 3D rect.
static Rect3D Rect3D.MultFast ( Rect3D  rect,
Matrix4x4  matrix 
) [static]

Multiplies the points in the specified Rect3D by the specified matrix in a non-projective way and returns the result.

Parameters:
rect The Rect3D to be transformed.
matrix The matrix by which the points shall be transformed.
void Rect3D.MultFast ( Matrix4x4  matrix  ) 

Multiplies the points in the Rect3D by the specified matrix in a non-projective way. Alters the contents of the Rect3D.

Parameters:
matrix The matrix by which the points shall be transformed.

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

Generated on Thu Sep 8 16:31:16 2011 for EZ GUI by  doxygen 1.6.1