jp.go.aist.dmrc.platform.beans.graphics.ThreeDGraphics
クラス PFClipPlane

java.lang.Object
  上位を拡張 jp.go.aist.dmrc.platform.beans.graphics.ThreeDGraphics.PFClipPlane

public class PFClipPlane
extends java.lang.Object

クリップ面クラス
クリップ面の式 Ax + By + Cz + D <= 0


コンストラクタの概要
PFClipPlane()
          コンストラクタ
PFClipPlane(int id, double a, double b, double c, double d)
          コンストラクタ
PFClipPlane(int id, javax.vecmath.Vector3d normal, javax.vecmath.Point3d point)
          コンストラクタ
 
メソッドの概要
 javax.vecmath.Vector4d getEquation()
          クリップ面の式を取得
 int getPlaneId()
          クリップ面IDの取得
 void setEquation(double a, double b, double c, double d)
          クリップ面の式を設定
 void setEquation(javax.vecmath.Vector3d normal, javax.vecmath.Point3d point)
          クリップ面の式を設定
 void setPlaneId(int id)
          クリップ面IDの設定
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

PFClipPlane

public PFClipPlane()
コンストラクタ


PFClipPlane

public PFClipPlane(int id,
                   double a,
                   double b,
                   double c,
                   double d)
コンストラクタ

パラメータ:
id - 面ID(0-5)
a - 面の式係数A
b - 面の式係数B
c - 面の式係数C
d - 面の式係数D

PFClipPlane

public PFClipPlane(int id,
                   javax.vecmath.Vector3d normal,
                   javax.vecmath.Point3d point)
コンストラクタ

パラメータ:
id - 面ID(0-5)
normal - 面の法線ベクトル
point - 面上の点座標
メソッドの詳細

setPlaneId

public void setPlaneId(int id)
クリップ面IDの設定

パラメータ:
id - クリップ面ID(0-5)

getPlaneId

public int getPlaneId()
クリップ面IDの取得

戻り値:
クリップ面ID(0-5)

setEquation

public void setEquation(double a,
                        double b,
                        double c,
                        double d)
クリップ面の式を設定

パラメータ:
a - 面の式係数A
b - 面の式係数B
c - 面の式係数C
d - 面の式係数D

setEquation

public void setEquation(javax.vecmath.Vector3d normal,
                        javax.vecmath.Point3d point)
クリップ面の式を設定

パラメータ:
normal - 面の法線ベクトル
point - 面上の点座標

getEquation

public javax.vecmath.Vector4d getEquation()
クリップ面の式を取得

戻り値:
クリップ面の式