lib.math
クラス Vector3
java.lang.Object
|
+--lib.math.Vector3
- public class Vector3
- extends java.lang.Object
3 次元ベクトルを表すクラスです。
- 導入されたバージョン:
- 1999/12/24
メソッドの概要 |
Vector3 |
add(Vector3 addend)
|
Vector3 |
cross(Vector3 multiplier)
|
float |
dot(Vector3 multiplier)
|
void |
finalize()
|
double |
getAngle(Vector3 target)
|
lib.math.D3DXVECTOR3 |
getDXVector()
|
float |
getLength()
|
float |
getLength2()
|
lib.math.D3DVECTOR |
getVector()
|
float |
getX()
|
float |
getY()
|
float |
getZ()
|
boolean |
isZero()
|
Vector3 |
multiply(float multiplier)
|
Vector3 |
normalize()
|
void |
operator_delete(lib.math.VOID[] object)
|
Vector3 |
operator_minus(Vector3 value1)
|
lib.math.VOID[] |
operator_new(lib.math.size_t size)
|
Vector3 |
operator_plus(Vector3 addend)
|
Vector3 |
operator_star(float multiplier)
|
void |
set(float x,
float y,
float z)
|
void |
set(Vector3 vector)
|
void |
setAddition(Vector3 value,
Vector3 addend)
|
void |
setBaryCentric(Vector3 v1,
Vector3 v2,
Vector3 v3,
float weight2,
float weight3)
|
void |
setCrossProduct(Vector3 multiplicand,
Vector3 multiplier)
|
void |
setInterpolation(Vector3 v1,
Vector3 v2,
double blend)
|
void |
setMultiplication(float multiplier)
|
void |
setNormalize()
|
void |
setSubtraction(Vector3 value0,
Vector3 value1)
|
void |
setZero()
|
Vector3 |
subtract(Vector3 value1)
|
クラス java.lang.Object から継承したメソッド |
clone,
equals,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Vector3
public Vector3(lib.math.D3DVECTOR vector)
Vector3
public Vector3(float x,
float y,
float z)
Vector3
public Vector3(Vector3 vector)
Vector3
public Vector3()
operator_new
public lib.math.VOID[] operator_new(lib.math.size_t size)
operator_delete
public void operator_delete(lib.math.VOID[] object)
getVector
public lib.math.D3DVECTOR getVector()
getDXVector
public lib.math.D3DXVECTOR3 getDXVector()
getX
public float getX()
getY
public float getY()
getZ
public float getZ()
isZero
public boolean isZero()
set
public void set(Vector3 vector)
set
public void set(float x,
float y,
float z)
setZero
public void setZero()
setAddition
public void setAddition(Vector3 value,
Vector3 addend)
setSubtraction
public void setSubtraction(Vector3 value0,
Vector3 value1)
setCrossProduct
public void setCrossProduct(Vector3 multiplicand,
Vector3 multiplier)
setMultiplication
public void setMultiplication(float multiplier)
setNormalize
public void setNormalize()
setInterpolation
public void setInterpolation(Vector3 v1,
Vector3 v2,
double blend)
setBaryCentric
public void setBaryCentric(Vector3 v1,
Vector3 v2,
Vector3 v3,
float weight2,
float weight3)
getLength
public float getLength()
getLength2
public float getLength2()
getAngle
public double getAngle(Vector3 target)
add
public Vector3 add(Vector3 addend)
operator_plus
public Vector3 operator_plus(Vector3 addend)
subtract
public Vector3 subtract(Vector3 value1)
operator_minus
public Vector3 operator_minus(Vector3 value1)
dot
public float dot(Vector3 multiplier)
cross
public Vector3 cross(Vector3 multiplier)
multiply
public Vector3 multiply(float multiplier)
operator_star
public Vector3 operator_star(float multiplier)
normalize
public Vector3 normalize()
finalize
public void finalize()
- オーバーライド:
- クラス java.lang.Object 内の finalize