public interface Dragger3dConstrainer
Modifier and Type | Method and Description |
---|---|
boolean |
updatePosition(Vector3d pnew,
RigidTransform3d TDW)
Takes a new value for the dragger translation and updates it to one that
satifies any constraints.
|
boolean |
updateRotation(RotationMatrix3d RDW,
RigidTransform3d TDW)
Takes a new value for the dragger rotation matrix and updates it to one
that satifies any constraints.
|
boolean updateRotation(RotationMatrix3d RDW, RigidTransform3d TDW)
RDW
- new value for the dragger rotation matrix, which should be
modified if necessaryTDW
- previous dragger-to-world transform.false
if there is no motion and RDWnew
is reset to its original value TDW.R
.boolean updatePosition(Vector3d pnew, RigidTransform3d TDW)
pnew
- new value for the dragger translation, which should be
modified if necessaryTDW
- previous dragger-to-world transform.false
if there is no motion and pnew
is
reset to its original value TDW.p
.