C# Class SharpMath.float3x3

Show file Open project: Patapom/GodComplex Class Usage Examples

Public Properties

Property Type Description
IDENTITY float3x3
ZERO float3x3
m ].float[
ms_Index int[]

Public Methods

Method Description
CoFactor ( int _dwRow, int _dwCol ) : float
ComputeRotationMatrix ( float3 _Source, float3 _Target ) : float3x3

Computes the rotation matrix to transform a source vector into a target vector (routine from Thomas Moller)

Determinant ( ) : float
EigenValues ( ) : float3
FromEuler ( float3 _EulerAngles ) : void
GetEuler ( ) : float3
GetRow ( int _dwRowIndex ) : float3
GetRow0 ( ) : float3
GetRow1 ( ) : float3
GetRow2 ( ) : float3
GetScale ( ) : float3
Invert ( ) : float3x3
IsIdentity ( ) : bool
MakeIdentity ( ) : float3x3
MakePYR ( float _fPitch, float _fYaw, float _fRoll ) : float3x3
MakeRot ( float3 _from, float3 _to ) : float3x3
MakeRotX ( float _fAngle ) : float3x3
MakeRotY ( float _fAngle ) : float3x3
MakeRotZ ( float _fAngle ) : float3x3
MakeZero ( ) : float3x3
Normalize ( ) : void
Parse ( string _Source ) : float3x3
Scale ( float3 _Scale ) : void
Set ( float _Source ) : void
Set ( float3x3 _Source ) : void
Set ( float4x4 _Source ) : void
SetRow ( int _dwRowIndex, float3 _Row ) : void
SetRow0 ( float3 _Row ) : void
SetRow1 ( float3 _Row ) : void
SetRow2 ( float3 _Row ) : void
SetScale ( float3 _Scale ) : void
ToString ( ) : string
Trace ( ) : float
Transpose ( ) : float3x3
float3x3 ( ) : System
float3x3 ( INIT_TYPES _Init, float _fAngle ) : System
float3x3 ( float _Source ) : System
float3x3 ( float3x3 _Source ) : System
float3x3 ( float4x4 _Source ) : System
operator ( ) : float3
operator ( ) : float3x3
this ( COEFFS _CoeffIndex ) : float
this ( int _i, int _j ) : float

Method Details

CoFactor() public method

public CoFactor ( int _dwRow, int _dwCol ) : float
_dwRow int
_dwCol int
return float

ComputeRotationMatrix() public static method

Computes the rotation matrix to transform a source vector into a target vector (routine from Thomas Moller)
public static ComputeRotationMatrix ( float3 _Source, float3 _Target ) : float3x3
_Source float3 The source vector
_Target float3 The target vector
return float3x3

Determinant() public method

public Determinant ( ) : float
return float

EigenValues() public method

public EigenValues ( ) : float3
return float3

FromEuler() public method

public FromEuler ( float3 _EulerAngles ) : void
_EulerAngles float3
return void

GetEuler() public method

public GetEuler ( ) : float3
return float3

GetRow() public method

public GetRow ( int _dwRowIndex ) : float3
_dwRowIndex int
return float3

GetRow0() public method

public GetRow0 ( ) : float3
return float3

GetRow1() public method

public GetRow1 ( ) : float3
return float3

GetRow2() public method

public GetRow2 ( ) : float3
return float3

GetScale() public method

public GetScale ( ) : float3
return float3

Invert() public method

public Invert ( ) : float3x3
return float3x3

IsIdentity() public method

public IsIdentity ( ) : bool
return bool

MakeIdentity() public method

public MakeIdentity ( ) : float3x3
return float3x3

MakePYR() public method

public MakePYR ( float _fPitch, float _fYaw, float _fRoll ) : float3x3
_fPitch float
_fYaw float
_fRoll float
return float3x3

MakeRot() public method

public MakeRot ( float3 _from, float3 _to ) : float3x3
_from float3
_to float3
return float3x3

MakeRotX() public method

public MakeRotX ( float _fAngle ) : float3x3
_fAngle float
return float3x3

MakeRotY() public method

public MakeRotY ( float _fAngle ) : float3x3
_fAngle float
return float3x3

MakeRotZ() public method

public MakeRotZ ( float _fAngle ) : float3x3
_fAngle float
return float3x3

MakeZero() public method

public MakeZero ( ) : float3x3
return float3x3

Normalize() public method

public Normalize ( ) : void
return void

Parse() public static method

public static Parse ( string _Source ) : float3x3
_Source string
return float3x3

Scale() public method

public Scale ( float3 _Scale ) : void
_Scale float3
return void

Set() public method

public Set ( float _Source ) : void
_Source float
return void

Set() public method

public Set ( float3x3 _Source ) : void
_Source float3x3
return void

Set() public method

public Set ( float4x4 _Source ) : void
_Source float4x4
return void

SetRow() public method

public SetRow ( int _dwRowIndex, float3 _Row ) : void
_dwRowIndex int
_Row float3
return void

SetRow0() public method

public SetRow0 ( float3 _Row ) : void
_Row float3
return void

SetRow1() public method

public SetRow1 ( float3 _Row ) : void
_Row float3
return void

SetRow2() public method

public SetRow2 ( float3 _Row ) : void
_Row float3
return void

SetScale() public method

public SetScale ( float3 _Scale ) : void
_Scale float3
return void

ToString() public method

public ToString ( ) : string
return string

Trace() public method

public Trace ( ) : float
return float

Transpose() public method

public Transpose ( ) : float3x3
return float3x3

float3x3() public method

public float3x3 ( ) : System
return System

float3x3() public method

public float3x3 ( INIT_TYPES _Init, float _fAngle ) : System
_Init INIT_TYPES
_fAngle float
return System

float3x3() public method

public float3x3 ( float _Source ) : System
_Source float
return System

float3x3() public method

public float3x3 ( float3x3 _Source ) : System
_Source float3x3
return System

float3x3() public method

public float3x3 ( float4x4 _Source ) : System
_Source float4x4
return System

operator() public static method

public static operator ( ) : float3
return float3

operator() public static method

public static operator ( ) : float3x3
return float3x3

this() public method

public this ( COEFFS _CoeffIndex ) : float
_CoeffIndex COEFFS
return float

this() public method

public this ( int _i, int _j ) : float
_i int
_j int
return float

Property Details

IDENTITY public static property

public static float3x3,SharpMath IDENTITY
return float3x3

ZERO public static property

public static float3x3,SharpMath ZERO
return float3x3

m public property

public float[,] m
return ].float[

ms_Index public static property

public static int[] ms_Index
return int[]