public class PointSkinAttachment.FemDisplacementConnection extends PointSkinAttachment.Connection
| Modifier and Type | Field and Description |
|---|---|
FemNode3d |
myNode |
myWeight| Constructor and Description |
|---|
FemDisplacementConnection(FemNode3d node,
double w) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
accumulate(Vector3d pos,
Vector3d tmp)
Adds this connection's point value contribution to
pos. |
boolean |
addPointForce(Vector3d f) |
PointSkinAttachment.FemDisplacementConnection |
copy() |
DynamicComponent |
getMaster()
Returns the master component associated with this connection.
|
getWeight, setWeightpublic FemNode3d myNode
public FemDisplacementConnection(FemNode3d node, double w)
public DynamicComponent getMaster()
PointSkinAttachment.ConnectiongetMaster in class PointSkinAttachment.Connectionpublic boolean accumulate(Vector3d pos, Vector3d tmp)
PointSkinAttachment.Connectionpos.
Not all connections implement this method; sometimes the calculation is
more complex. If this method does nothing, then it should return
false.accumulate in class PointSkinAttachment.Connectionpos - accumulates point value contributiontmp - temporary vector for optional usepublic boolean addPointForce(Vector3d f)
addPointForce in class PointSkinAttachment.Connectionpublic PointSkinAttachment.FemDisplacementConnection copy()
copy in class PointSkinAttachment.Connection