戻る

lib.math
クラス Quaternion

java.lang.Object
  |
  +--lib.math.Quaternion

public class Quaternion
extends java.lang.Object

クォータニオン (四元数) を表すクラスです。

導入されたバージョン:
1999/12/24

コンストラクタの概要
Quaternion()
           
Quaternion(float w, float x, float y, float z)
           
Quaternion(Quaternion quaternion)
           
 
メソッドの概要
 Quaternion add(Quaternion addend)
           
 Quaternion conjugate()
           
 float dot(Quaternion multiplier)
           
 void finalize()
           
 lib.math.D3DXQUATERNION getDXQuaternion()
           
 float getLength()
           
 float getLength2()
           
 float getW()
           
 float getX()
           
 float getY()
           
 float getZ()
           
 Quaternion inverse()
           
 boolean isIdentity()
           
 Quaternion multiply(float multiplier)
           
 Quaternion multiply(Quaternion multiplier)
           
 Quaternion normalize()
           
 void operator_delete(lib.math.VOID[] object)
           
 Quaternion operator_minus(Quaternion value1)
           
 lib.math.VOID[] operator_new(lib.math.size_t size)
           
 Quaternion operator_plus(Quaternion addend)
           
 Quaternion operator_star(float multiplier)
           
 Quaternion operator_star(Quaternion multiplier)
           
 void set(float w, float x, float y, float z)
           
 void set(Quaternion quaternion)
           
 void setAddition(Quaternion value, Quaternion addend)
           
 void setConjugate(Quaternion value)
           
 void setIdentity()
           
 void setInverse(Quaternion value)
           
 void setMultiplication(float multiplier)
           
 void setMultiplication(Quaternion multiplicand, Quaternion multiplier)
           
 void setNormalize()
           
 void setRotation(Matrix4 matrix)
           
 void setRotation(Vector3 axis, double angle)
           
 void setSlerp(Quaternion value0, Quaternion value1, double alpha)
           
 void setSubtraction(Quaternion value0, Quaternion value1)
           
 void setZero()
           
 Quaternion slerp(Quaternion value1, double alpha)
           
 Quaternion subtract(Quaternion value1)
           
 
クラス java.lang.Object から継承したメソッド
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

Quaternion

public Quaternion(float w,
                  float x,
                  float y,
                  float z)

Quaternion

public Quaternion(Quaternion quaternion)

Quaternion

public Quaternion()
メソッドの詳細

operator_new

public lib.math.VOID[] operator_new(lib.math.size_t size)

operator_delete

public void operator_delete(lib.math.VOID[] object)

getDXQuaternion

public lib.math.D3DXQUATERNION getDXQuaternion()

getX

public float getX()

getY

public float getY()

getZ

public float getZ()

getW

public float getW()

isIdentity

public boolean isIdentity()

set

public void set(Quaternion quaternion)

set

public void set(float w,
                float x,
                float y,
                float z)

setZero

public void setZero()

setIdentity

public void setIdentity()

setRotation

public void setRotation(Vector3 axis,
                        double angle)

setRotation

public void setRotation(Matrix4 matrix)

setAddition

public void setAddition(Quaternion value,
                        Quaternion addend)

setSubtraction

public void setSubtraction(Quaternion value0,
                           Quaternion value1)

setMultiplication

public void setMultiplication(Quaternion multiplicand,
                              Quaternion multiplier)

setMultiplication

public void setMultiplication(float multiplier)

setConjugate

public void setConjugate(Quaternion value)

setInverse

public void setInverse(Quaternion value)

setSlerp

public void setSlerp(Quaternion value0,
                     Quaternion value1,
                     double alpha)

setNormalize

public void setNormalize()

getLength

public float getLength()

getLength2

public float getLength2()

add

public Quaternion add(Quaternion addend)

operator_plus

public Quaternion operator_plus(Quaternion addend)

subtract

public Quaternion subtract(Quaternion value1)

operator_minus

public Quaternion operator_minus(Quaternion value1)

multiply

public Quaternion multiply(Quaternion multiplier)

operator_star

public Quaternion operator_star(Quaternion multiplier)

multiply

public Quaternion multiply(float multiplier)

operator_star

public Quaternion operator_star(float multiplier)

conjugate

public Quaternion conjugate()

dot

public float dot(Quaternion multiplier)

inverse

public Quaternion inverse()

slerp

public Quaternion slerp(Quaternion value1,
                        double alpha)

normalize

public Quaternion normalize()

finalize

public void finalize()
オーバーライド:
クラス java.lang.Object 内の finalize

戻る