public class DeformableContactConstraintBase.PointInfo extends DeformableContactConstraintBase.CompInfo
Constructor and Description |
---|
DeformableContactConstraintBase.PointInfo(Point pnt) |
Modifier and Type | Method and Description |
---|---|
void |
addFrictionBlock(SparseBlockMatrix DT,
Vector3d dir,
int bj) |
void |
addRelativeVelocity(Vector3d vrel,
Twist tmpT)
Uses the component's current velocity to compute its contribution to
the current relative velocity.
|
double |
computeDirectionalVelocity(Vector3d dir,
Twist tmpT) |
Matrix3x1Block |
getBlock()
Returns the matrix block associated with this constraint.
|
DynamicMechComponent |
getComp()
Returns the dynamic component
|
Point |
getPoint() |
int |
getSolveIndex()
Returns the solve index of the dynamic component
|
double |
getWeight() |
boolean |
isParametric()
Returns true if the dynamic component is parametric
|
void |
setConstraint(Vector3d nrml,
double weight) |
void |
setPoint(Point myPoint) |
void |
setWeight(double myWeight) |
getNext, setNext
public DeformableContactConstraintBase.PointInfo(Point pnt)
public Matrix3x1Block getBlock()
DeformableContactConstraintBase.CompInfo
getBlock
in class DeformableContactConstraintBase.CompInfo
public DynamicMechComponent getComp()
DeformableContactConstraintBase.CompInfo
getComp
in class DeformableContactConstraintBase.CompInfo
public int getSolveIndex()
DeformableContactConstraintBase.CompInfo
getSolveIndex
in class DeformableContactConstraintBase.CompInfo
public boolean isParametric()
DeformableContactConstraintBase.CompInfo
isParametric
in class DeformableContactConstraintBase.CompInfo
public void setConstraint(Vector3d nrml, double weight)
public double getWeight()
public double computeDirectionalVelocity(Vector3d dir, Twist tmpT)
computeDirectionalVelocity
in class DeformableContactConstraintBase.CompInfo
public void addFrictionBlock(SparseBlockMatrix DT, Vector3d dir, int bj)
addFrictionBlock
in class DeformableContactConstraintBase.CompInfo
public void addRelativeVelocity(Vector3d vrel, Twist tmpT)
DeformableContactConstraintBase.CompInfo
addRelativeVelocity
in class DeformableContactConstraintBase.CompInfo
public Point getPoint()
public void setPoint(Point myPoint)
public void setWeight(double myWeight)