com.j_phone.amuse.j3d
クラス Vector3D

java.lang.Object
  |
  +--com.jblend.graphics.j3d.Vector3D
        |
        +--com.j_phone.amuse.j3d.Vector3D

推奨されていません。 As JSCL 1.0.0

public class Vector3D
extends Vector3D

3Dベクトルクラス。 X、Y、Z、各成分は-32768〜32767の値が有効である。 非推奨クラスとします。


クラス com.jblend.graphics.j3d.Vector3D から継承したフィールド
x, y, z
 
コンストラクタの概要
Vector3D()
          推奨されていません。 Vector3Dコンストラクタ。
Vector3D(int x, int y, int z)
          推奨されていません。 Vector3Dコンストラクタ。
 
メソッドの概要
 int innerProduct(Vector3D v)
          推奨されていません。 内積を計算する。
static int innerProduct(Vector3D v1, Vector3D v2)
          推奨されていません。 内積を計算する。
 void outerProduct(Vector3D v)
          推奨されていません。 外積を計算する。
static Vector3D outerProduct(Vector3D v1, Vector3D v2)
          推奨されていません。 外積を計算する。
 
クラス com.jblend.graphics.j3d.Vector3D から継承したメソッド
getX, getY, getZ, innerProduct, innerProduct, outerProduct, outerProduct, set, setX, setY, setZ, unit
 
クラス java.lang.Object から継承したメソッド
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

Vector3D

public Vector3D()
推奨されていません。 
Vector3Dコンストラクタ。

Vector3D

public Vector3D(int x,
                int y,
                int z)
推奨されていません。 
Vector3Dコンストラクタ。
パラメータ:
x - X成分
y - Y成分
z - Z成分
メソッドの詳細

innerProduct

public int innerProduct(Vector3D v)
推奨されていません。 
内積を計算する。
パラメータ:
v - 内積をとるベクトル
戻り値:
int - 内積
例外:
IllegalStateException - com.j_phone.amuse.ACanvasがカレントの時にコールされた場合に発生する。

outerProduct

public void outerProduct(Vector3D v)
推奨されていません。 
外積を計算する。 自分との外積を計算し、自分に反映させる。
パラメータ:
v - 外積をとるベクトル
戻り値:
Vector3D
例外:
IllegalStateException - com.j_phone.amuse.ACanvasがカレントの時にコールされた場合に発生する。

innerProduct

public static int innerProduct(Vector3D v1,
                               Vector3D v2)
推奨されていません。 
内積を計算する。 v1・v2を計算します。
パラメータ:
v1 - 内積をとるベクトル
v2 - 内積をとるベクトル
戻り値:
int - 内積

outerProduct

public static Vector3D outerProduct(Vector3D v1,
                                    Vector3D v2)
推奨されていません。 
外積を計算する。 v1×v2を計算します。
パラメータ:
v1 - 外積をとるベクトル
v2 - 外積をとるベクトル
戻り値:
Vector3D