public class SphericalJointForceBound extends LeastSquaresTermBase
DEFAULT_ENABLED, defaultWeight, myProps
Constructor and Description |
---|
SphericalJointForceBound() |
SphericalJointForceBound(double weight,
TrackingController con) |
SphericalJointForceBound(double weight,
TrackingController con,
Frame f) |
Modifier and Type | Method and Description |
---|---|
void |
addHalfspaceBound(Vector3d n)
Add a half-space bound to the spherical joint
This vector is specified relative to a global coordinate frame
|
java.util.ArrayList<Vector3d> |
getBoundNormals()
Returns a list of all the vectors forming the spherical
joint force bound, in global coordinates.
|
Frame |
getFrame()
Returns the frame used by the spherical joint force bound
This frame should not be directly modified as it is used to
track the movement of the body that the joint is attached to.
|
MatrixNd |
getMatrixOfBoundNormals() |
int |
getRowSize()
Returns the number of rows.
|
addRows, getAllPropertyInfo, getQP, getTerm, isEnabled, setEnabled, setSize
dispose, getProperty, getSize, getWeight, setWeight
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getProperty
public SphericalJointForceBound()
public SphericalJointForceBound(double weight, TrackingController con)
public SphericalJointForceBound(double weight, TrackingController con, Frame f)
public int getRowSize()
LeastSquaresTerm
public void addHalfspaceBound(Vector3d n)
n
- vector specifying the half-space boundpublic java.util.ArrayList<Vector3d> getBoundNormals()
public MatrixNd getMatrixOfBoundNormals()
public Frame getFrame()