C# 클래스 Mono.Simd.Math.Quaternionf

파일 보기 프로젝트 열기: mono/Mono.Simd.Math 1 사용 예제들

공개 메소드들

메소드 설명
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

메소드 상세

ApproxEquals() 공개 메소드

public ApproxEquals ( Quaternionf quaternion, float tolerance ) : bool
quaternion Quaternionf
tolerance float
리턴 bool

Conjugate() 공개 메소드

Sets this quaternion to the conjugate (spatial inverse) of itself
public Conjugate ( ) : void
리턴 void

Dot() 공개 메소드

public Dot ( Quaternionf quaternion ) : float
quaternion Quaternionf
리턴 float

FromAxisAngle() 공개 메소드

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
리턴 void

FromEulers() 공개 메소드

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
리턴 void

FromRotationMatrix() 공개 메소드

public FromRotationMatrix ( Matrix4f m ) : void
m Matrix4f
리턴 void

GetAxisAngle() 공개 메소드

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
리턴 void

GetEulerAngles() 공개 메소드

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
리턴 void

GetHashCode() 공개 메소드

public GetHashCode ( ) : int
리턴 int

Invert() 공개 메소드

Conjugates and renormalizes the quaternion
public Invert ( ) : Vector4f
리턴 Vector4f

IsFinite() 공개 메소드

public IsFinite ( ) : bool
리턴 bool

Length() 공개 메소드

public Length ( ) : float
리턴 float

LengthSquared() 공개 메소드

public LengthSquared ( ) : float
리턴 float

Negate() 공개 메소드

public Negate ( ) : Vector4f
리턴 Vector4f

Normalize() 공개 메소드

public Normalize ( ) : void
리턴 void

Quaternionf() 공개 메소드

public Quaternionf ( Quaternionf quaternion ) : System
quaternion Quaternionf
리턴 System

Quaternionf() 공개 메소드

public Quaternionf ( Vector3f vector, float scalar ) : System
vector Vector3f
scalar float
리턴 System

Quaternionf() 공개 메소드

public Quaternionf ( Vector4f vector ) : System
vector Vector4f
리턴 System

Quaternionf() 공개 메소드

public Quaternionf ( float x, float y, float z, float w ) : System
x float
y float
z float
w float
리턴 System

Quaternionf() 공개 메소드

public Quaternionf ( Matrix4f m ) : void
m Matrix4f
리턴 void

Slerp() 공개 메소드

Spherical linear interpolation between this quaternion and another
public Slerp ( Quaternionf quaternion, float amount ) : Quaternionf
quaternion Quaternionf
amount float
리턴 Quaternionf

ToString() 공개 메소드

public ToString ( ) : string
리턴 string

operator() 공개 정적인 메소드

public static operator ( ) : bool
리턴 bool