public static class OpenSimCustomCoupling.TAxis
extends java.lang.Object
Constructor and Description |
---|
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() |
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()