C# Class Mono.Simd.Math.Quaternionf

Afficher le fichier Open project: mono/Mono.Simd.Math Class Usage Examples

Méthodes publiques

Méthode Description
ApproxEquals ( Quaternionf quaternion, float tolerance ) : bool
Conjugate ( ) : void

Sets this quaternion to the conjugate (spatial inverse) of itself

Dot ( Quaternionf quaternion ) : float
FromAxisAngle ( Vector3f axis, float angle ) : void

Set this quaternion from a normalized axis and an angle of rotation around that axis

FromEulers ( float roll, float pitch, float yaw ) : void

Set this quaternion from roll, pitch, and yaw euler angles in radians

FromRotationMatrix ( Matrix4f m ) : void
GetAxisAngle ( Vector3f &axis, float &angle ) : void

Convert this quaternion to an angle around an axis

GetEulerAngles ( float &roll, float &pitch, float &yaw ) : void

Convert this quaternion to euler angles

GetHashCode ( ) : int
Invert ( ) : Vector4f

Conjugates and renormalizes the quaternion

IsFinite ( ) : bool
Length ( ) : float
LengthSquared ( ) : float
Negate ( ) : Vector4f
Normalize ( ) : void
Quaternionf ( Quaternionf quaternion ) : System
Quaternionf ( Vector3f vector, float scalar ) : System
Quaternionf ( Vector4f vector ) : System
Quaternionf ( float x, float y, float z, float w ) : System
Quaternionf ( Matrix4f m ) : void
Slerp ( Quaternionf quaternion, float amount ) : Quaternionf

Spherical linear interpolation between this quaternion and another

ToString ( ) : string
operator ( ) : bool

Method Details

ApproxEquals() public méthode

public ApproxEquals ( Quaternionf quaternion, float tolerance ) : bool
quaternion Quaternionf
tolerance float
Résultat bool

Conjugate() public méthode

Sets this quaternion to the conjugate (spatial inverse) of itself
public Conjugate ( ) : void
Résultat void

Dot() public méthode

public Dot ( Quaternionf quaternion ) : float
quaternion Quaternionf
Résultat float

FromAxisAngle() public méthode

Set this quaternion from a normalized axis and an angle of rotation around that axis
public FromAxisAngle ( Vector3f axis, float angle ) : void
axis Vector3f Axis of rotation
angle float Angle of rotation
Résultat void

FromEulers() public méthode

Set this quaternion from roll, pitch, and yaw euler angles in radians
public FromEulers ( float roll, float pitch, float yaw ) : void
roll float X angle in radians
pitch float Y angle in radians
yaw float Z angle in radians
Résultat void

FromRotationMatrix() public méthode

public FromRotationMatrix ( Matrix4f m ) : void
m Matrix4f
Résultat void

GetAxisAngle() public méthode

Convert this quaternion to an angle around an axis
public GetAxisAngle ( Vector3f &axis, float &angle ) : void
axis Vector3f Unit vector describing the axis
angle float Angle around the axis, in radians
Résultat void

GetEulerAngles() public méthode

Convert this quaternion to euler angles
public GetEulerAngles ( float &roll, float &pitch, float &yaw ) : void
roll float X euler angle
pitch float Y euler angle
yaw float Z euler angle
Résultat void

GetHashCode() public méthode

public GetHashCode ( ) : int
Résultat int

Invert() public méthode

Conjugates and renormalizes the quaternion
public Invert ( ) : Vector4f
Résultat Vector4f

IsFinite() public méthode

public IsFinite ( ) : bool
Résultat bool

Length() public méthode

public Length ( ) : float
Résultat float

LengthSquared() public méthode

public LengthSquared ( ) : float
Résultat float

Negate() public méthode

public Negate ( ) : Vector4f
Résultat Vector4f

Normalize() public méthode

public Normalize ( ) : void
Résultat void

Quaternionf() public méthode

public Quaternionf ( Quaternionf quaternion ) : System
quaternion Quaternionf
Résultat System

Quaternionf() public méthode

public Quaternionf ( Vector3f vector, float scalar ) : System
vector Vector3f
scalar float
Résultat System

Quaternionf() public méthode

public Quaternionf ( Vector4f vector ) : System
vector Vector4f
Résultat System

Quaternionf() public méthode

public Quaternionf ( float x, float y, float z, float w ) : System
x float
y float
z float
w float
Résultat System

Quaternionf() public méthode

public Quaternionf ( Matrix4f m ) : void
m Matrix4f
Résultat void

Slerp() public méthode

Spherical linear interpolation between this quaternion and another
public Slerp ( Quaternionf quaternion, float amount ) : Quaternionf
quaternion Quaternionf
amount float
Résultat Quaternionf

ToString() public méthode

public ToString ( ) : string
Résultat string

operator() public static méthode

public static operator ( ) : bool
Résultat bool