クラス
com.jblend.graphics.m3d.Vector3D の使用

Vector3D を使用しているパッケージ
com.jblend.graphics.m3d 3D ポリゴンの描画機能を提供します。 
 

com.jblend.graphics.m3d での Vector3D の使用
 

Vector3D を返す com.jblend.graphics.m3d のメソッド
 Vector3D[] Primitive.getNormal()
          法線の配列を返します。
 

Vector3D 型のパラメータを持つ com.jblend.graphics.m3d のメソッド
 int Vector3D.dot(Vector3D v)
          このベクトルと、指定されたベクトルの内積を計算した結果を返します。
static int Vector3D.dot(Vector3D v1, Vector3D v2)
          指定された 2 つのベクトルの内積を計算した結果を返します。
 void Vector3D.cross(Vector3D v)
          このベクトルと指定されたベクトルの外積を計算した結果を、 このベクトルに設定します。
 void Vector3D.cross(Vector3D v1, Vector3D v2)
          指定された 2 つのベクトルの外積を計算した結果を、 このオブジェクトに設定します。
 void AffineTrans3D.rotate(Vector3D axis, int angle)
          指定されたベクトル軸に対する回転を加えます。
 void AffineTrans3D.rotate(Vector3D axis, Point3D pos, int angle)
          指定されたベクトル軸に対する回転を加えます。
 void AffineTrans3D.setRotation(Vector3D axis, int angle)
          指定されたベクトル軸に対する回転を設定します。
 void AffineTrans3D.lookAt(Point3D position, Vector3D look, Vector3D up)
          視点座標への変換となるように行列を設定します。
 void Lights.setDirectionLight(Vector3D direction, int intensity)
          平行光源の強さと方向を設定します。
 



Copyright 2003 Aplix Corporation. All rights reserved. Aplix Confidential and Restricted.