fem.bc
クラス Restraint

java.lang.Object
  上位を拡張 figure.Tuple3D
      上位を拡張 figure.Vector3D
          上位を拡張 figure.Vector3DR
              上位を拡張 fem.bc.Restraint
すべての実装されたインタフェース:
LabeledData, java.lang.Cloneable

public class Restraint
extends Vector3DR
implements LabeledData

拘束条件クラス


フィールドの概要
 int node
          節点ラベル
 boolean restrx
          x 方向の回転拘束の有無を表す boolean 型
 boolean restry
          y 方向の回転拘束の有無を表す boolean 型
 boolean restrz
          z 方向の回転拘束の有無を表す boolean 型
 boolean restx
          x 方向の拘束の有無を表す boolean 型
 boolean resty
          y 方向の拘束の有無を表す boolean 型
 boolean restz
          z 方向の拘束の有無を表す boolean 型
 
クラス figure.Vector3DR から継承されたフィールド
rx, ry, rz
 
クラス figure.Tuple3D から継承されたフィールド
x, y, z
 
コンストラクタの概要
Restraint(int node)
          拘束条件を構築する
Restraint(int node, boolean restx, boolean resty, boolean restz, boolean restrx, boolean restry, boolean restrz, double x, double y, double z, double rx, double ry, double rz)
          拘束条件を構築する
Restraint(int node, boolean restx, boolean resty, boolean restz, double x, double y, double z)
          拘束条件を構築する
 
メソッドの概要
 boolean equals(java.lang.Object obj)
          オブジェクトの等価判定をする
 double get(int index)
          強制変位を返す
 int label()
          節点ラベルを返す
 void setLabel(int node)
          節点ラベルを設定する
 java.lang.String toString()
          データ文字列を返す
 java.lang.String toString(int node)
          データ文字列を返す
 
クラス figure.Vector3DR から継承されたメソッド
hashCode, magnitudeR, magnitudeSqR, setRX, setRY, setRZ
 
クラス figure.Vector3D から継承されたメソッド
angle, angle, angle, crossProduct, crossProduct, crossProduct, dotProduct, dotProduct, dotProduct, magnitude, magnitudeSq, mul, normalize, polarCoordinates, sphericalCoordinates
 
クラス figure.Tuple3D から継承されたメソッド
add, add, clone, rot, rot, rot, rotX, rotX, rotY, rotY, rotZ, rotZ, set, set, setX, setY, setZ
 
クラス java.lang.Object から継承されたメソッド
finalize, getClass, notify, notifyAll, wait, wait, wait
 

フィールドの詳細

node

public int node
節点ラベル


restx

public boolean restx
x 方向の拘束の有無を表す boolean 型


resty

public boolean resty
y 方向の拘束の有無を表す boolean 型


restz

public boolean restz
z 方向の拘束の有無を表す boolean 型


restrx

public boolean restrx
x 方向の回転拘束の有無を表す boolean 型


restry

public boolean restry
y 方向の回転拘束の有無を表す boolean 型


restrz

public boolean restrz
z 方向の回転拘束の有無を表す boolean 型

コンストラクタの詳細

Restraint

public Restraint(int node)
拘束条件を構築する

パラメータ:
node - 節点ラベル

Restraint

public Restraint(int node,
                 boolean restx,
                 boolean resty,
                 boolean restz,
                 double x,
                 double y,
                 double z)
拘束条件を構築する

パラメータ:
node - 節点ラベル
restx - x 方向の拘束の有無を表す boolean 型
resty - y 方向の拘束の有無を表す boolean 型
restz - z 方向の拘束の有無を表す boolean 型
x - 強制変位の x 成分
y - 強制変位の y 成分
z - 強制変位の z 成分

Restraint

public Restraint(int node,
                 boolean restx,
                 boolean resty,
                 boolean restz,
                 boolean restrx,
                 boolean restry,
                 boolean restrz,
                 double x,
                 double y,
                 double z,
                 double rx,
                 double ry,
                 double rz)
拘束条件を構築する

パラメータ:
node - 節点ラベル
restx - x 方向の拘束の有無を表す boolean 型
resty - y 方向の拘束の有無を表す boolean 型
restz - z 方向の拘束の有無を表す boolean 型
restrx - x 方向の回転拘束の有無を表す boolean 型
restry - y 方向の回転拘束の有無を表す boolean 型
restrz - z 方向の回転拘束の有無を表す boolean 型
x - 強制変位の x 成分
y - 強制変位の y 成分
z - 強制変位の z 成分
rx - 強制変位の x 方向回転成分
ry - 強制変位の y 方向回転成分
rz - 強制変位の z 方向回転成分
メソッドの詳細

label

public int label()
節点ラベルを返す

定義:
インタフェース LabeledData 内の label
戻り値:
節点ラベル

setLabel

public void setLabel(int node)
節点ラベルを設定する

定義:
インタフェース LabeledData 内の setLabel
パラメータ:
node - 節点ラベル

get

public double get(int index)
強制変位を返す

パラメータ:
index - 成分のインデックス
戻り値:
強制変位

equals

public boolean equals(java.lang.Object obj)
オブジェクトの等価判定をする

オーバーライド:
クラス Vector3DR 内の equals
パラメータ:
obj - 比較対象のオブジェクト
戻り値:
比較対象のオブジェクトが Restraint のインスタンスで同じ値を持つ場合は true

toString

public java.lang.String toString()
データ文字列を返す

オーバーライド:
クラス Vector3DR 内の toString
戻り値:
このオブジェクトの文字列表現

toString

public java.lang.String toString(int node)
データ文字列を返す

パラメータ:
node - 節点ラベル
戻り値:
このオブジェクトの文字列表現