public static class OpenSimCustomCoupling.TAxis
extends java.lang.Object
Constructor and Description |
---|
TAxis()
No-args constructor needed for scan/write.
|
TAxis(TransformAxis info,
java.util.HashMap<java.lang.String,java.lang.Integer> cmap) |
Modifier and Type | Method and Description |
---|---|
void |
addToHv(MatrixNd H,
VectorNd coords)
For a translation axis, add the contribution to the v component of the
mobility vectors.
|
void |
addToHw(MatrixNd H,
RotationMatrix3d R,
VectorNd coords,
boolean last)
For a rotation axis, add the contribution to the w component of the
mobility vectors.
|
void |
applyRotation(RotationMatrix3d R,
VectorNd coords)
Apply rotation for a rotation axis
|
void |
applyTranslation(Vector3d p,
VectorNd coords)
Apply translation for a translation axis
|
Vector3d |
getAxis() |
void |
scan(ReaderTokenizer rtok,
java.lang.Object ref) |
void |
write(java.io.PrintWriter pw,
NumberFormat fmt,
java.lang.Object ref) |
public TAxis()
public TAxis(TransformAxis info, java.util.HashMap<java.lang.String,java.lang.Integer> cmap)
public void applyTranslation(Vector3d p, VectorNd coords)
public void addToHv(MatrixNd H, VectorNd coords)
public void applyRotation(RotationMatrix3d R, VectorNd coords)
public void addToHw(MatrixNd H, RotationMatrix3d R, VectorNd coords, boolean last)
public Vector3d getAxis()
public void scan(ReaderTokenizer rtok, java.lang.Object ref) throws java.io.IOException
java.io.IOException
public void write(java.io.PrintWriter pw, NumberFormat fmt, java.lang.Object ref) throws java.io.IOException
java.io.IOException