C# Class BEPUutilities2.AffineTransform

A transformation composed of a linear transformation and a translation.
Show file Open project: RossNordby/scratchpad Class Usage Examples

Public Properties

Property Type Description
LinearTransform Matrix3x3
Translation System.Numerics.Vector3

Public Methods

Method Description
AffineTransform ( Matrix3x3 &linearTransform, System.Numerics.Vector3 &translation ) : System.Numerics

Constructs a new affine transform.

AffineTransform ( Quaternion &orientation, System.Numerics.Vector3 &translation ) : System.Numerics

Constructs a new affine tranform.

AffineTransform ( System.Numerics.Vector3 &translation ) : System.Numerics

Constructs a new affine transform.

AffineTransform ( System.Numerics.Vector3 &scaling, Quaternion &orientation, System.Numerics.Vector3 &translation ) : System.Numerics

Constructs a new affine transform.

Private Methods

Method Description
Invert ( AffineTransform &transform, AffineTransform &inverse ) : void
InvertRigid ( AffineTransform &transform, AffineTransform &inverse ) : void
Multiply ( AffineTransform &a, AffineTransform &b, AffineTransform &transform ) : void
Transform ( System.Numerics.Vector3 &position, AffineTransform &transform, System.Numerics.Vector3 &transformed ) : void

Method Details

AffineTransform() public method

Constructs a new affine transform.
public AffineTransform ( Matrix3x3 &linearTransform, System.Numerics.Vector3 &translation ) : System.Numerics
linearTransform Matrix3x3 The linear transform component.
translation System.Numerics.Vector3 Translation component of the transform.
return System.Numerics

AffineTransform() public method

Constructs a new affine tranform.
public AffineTransform ( Quaternion &orientation, System.Numerics.Vector3 &translation ) : System.Numerics
orientation Quaternion Orientation to use as the linear transform.
translation System.Numerics.Vector3 Translation to use in the transform.
return System.Numerics

AffineTransform() public method

Constructs a new affine transform.
public AffineTransform ( System.Numerics.Vector3 &translation ) : System.Numerics
translation System.Numerics.Vector3 Translation to use in the transform.
return System.Numerics

AffineTransform() public method

Constructs a new affine transform.
public AffineTransform ( System.Numerics.Vector3 &scaling, Quaternion &orientation, System.Numerics.Vector3 &translation ) : System.Numerics
scaling System.Numerics.Vector3 Scaling to apply in the linear transform.
orientation Quaternion Orientation to apply in the linear transform.
translation System.Numerics.Vector3 Translation to apply.
return System.Numerics

Property Details

LinearTransform public property

Linear transform in the affine transform.
public Matrix3x3,BEPUutilities2 LinearTransform
return Matrix3x3

Translation public property

Translation in the affine transform.
public Vector3,System.Numerics Translation
return System.Numerics.Vector3