C# Class Nexus.Matrix2D

Exibir arquivo Open project: tgjones/nexus

Public Properties

Property Type Description
Identity Matrix2D
M11 float
M12 float
M13 float
M21 float
M22 float
M23 float
M31 float
M32 float
M33 float
Zero Matrix2D

Public Methods

Method Description
Adjoint ( Matrix2D matrix ) : Matrix2D
CreateRotation ( float radians ) : Matrix2D

Returns a matrix that can be used to rotate a set of points.

Invert ( Matrix2D matrix ) : Matrix2D
Matrix2D ( float m11, float m12, float m13, float m21, float m22, float m23, float m31, float m32, float m33 )
Transform ( Vector3D vector ) : Vector3D
Transform ( Point2D points ) : void
Transpose ( Matrix2D matrix ) : Matrix2D
operator ( ) : Matrix2D

Private Methods

Method Description
Matrix2D ( )
MultiplyPoint ( float &x, float &y ) : void

Method Details

Adjoint() public static method

public static Adjoint ( Matrix2D matrix ) : Matrix2D
matrix Matrix2D
return Matrix2D

CreateRotation() public static method

Returns a matrix that can be used to rotate a set of points.
public static CreateRotation ( float radians ) : Matrix2D
radians float The amount, in radians, in which to rotate.
return Matrix2D

Invert() public static method

public static Invert ( Matrix2D matrix ) : Matrix2D
matrix Matrix2D
return Matrix2D

Matrix2D() public method

public Matrix2D ( float m11, float m12, float m13, float m21, float m22, float m23, float m31, float m32, float m33 )
m11 float
m12 float
m13 float
m21 float
m22 float
m23 float
m31 float
m32 float
m33 float

Transform() public method

public Transform ( Vector3D vector ) : Vector3D
vector Vector3D
return Vector3D

Transform() public method

public Transform ( Point2D points ) : void
points Point2D
return void

Transpose() public static method

public static Transpose ( Matrix2D matrix ) : Matrix2D
matrix Matrix2D
return Matrix2D

operator() public static method

public static operator ( ) : Matrix2D
return Matrix2D

Property Details

Identity public_oe static_oe property

public static Matrix2D,Nexus Identity
return Matrix2D

M11 public_oe property

public float M11
return float

M12 public_oe property

public float M12
return float

M13 public_oe property

public float M13
return float

M21 public_oe property

public float M21
return float

M22 public_oe property

public float M22
return float

M23 public_oe property

public float M23
return float

M31 public_oe property

public float M31
return float

M32 public_oe property

public float M32
return float

M33 public_oe property

public float M33
return float

Zero public_oe static_oe property

public static Matrix2D,Nexus Zero
return Matrix2D