public class Slider extends AbstractRigidConstraint
| 修飾子とタイプ | フィールドと説明 |
|---|---|
protected Vector3D |
b1x
拘束対象物体1の移動垂直基準軸方向
|
protected Vector3D |
b2x
拘束対象物体2の移動垂直基準軸方向
|
static int |
DOF
拘束する自由度
|
protected Vector3D |
s1
拘束対象物体1の移動方向
|
protected Vector3D |
s2
拘束対象物体2の移動方向
|
protected double |
z0
初期位置
|
alpha, beta, matrix| コンストラクタと説明 |
|---|
Slider(int p1,
int p2,
Point3D r1,
Point3D r2,
double z0)
回転無し並進ジョイントを構築する
|
| 修飾子とタイプ | メソッドと説明 |
|---|---|
void |
create(Position p1,
Position p2)
拘束マトリックス・拘束荷重ベクトルを作成する
|
int |
dof()
拘束する自由度を返す
|
void |
setAxis(Vector3D s1,
Vector3D s2,
Vector3D b1x,
Vector3D b2x)
拘束対象物体の軸方向を設定する
|
void |
setGcPosition(Position p1,
Position p2)
重心位置・速度を設定する
|
java.lang.String |
toString()
データ文字列を返す
|
axis, direction, getMatrix, point, point, rotate, setBaumgarteadd, add, add, add, add, compList, getVector, mul, mul, mul, mul, mul, mul, mul, mul, p1, p2, setCoords, setPosition, swap, tildeclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetVector, p1, p2, setCoords, setPosition, swappublic static final int DOF
protected Vector3D s1
protected Vector3D s2
protected Vector3D b1x
protected Vector3D b2x
protected double z0
public int dof()
public void setAxis(Vector3D s1, Vector3D s2, Vector3D b1x, Vector3D b2x)
s1 - 拘束対象物体1の移動方向s2 - 拘束対象物体2の移動方向b1x - 拘束対象物体1の移動垂直基準軸方向b2x - 拘束対象物体2の移動垂直基準軸方向public void setGcPosition(Position p1, Position p2)
p1 - 拘束対象位置情報1p2 - 拘束対象位置情報2public void create(Position p1, Position p2)
p1 - 拘束対象位置情報1p2 - 拘束対象位置情報2public java.lang.String toString()
toString クラス内 java.lang.Object