- Timestamp:
- 01/09/13 00:09:10 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
java/main/src/main/java/com/framsticks/model/MechJoint.java
r77 r78 6 6 * @author Piotr Sniegowski 7 7 */ 8 public class MechJoint { 9 /** rx, ry, rz*/ 10 public final Point3d rotation = new Point3d(); 11 12 /** dx, dy, dz*/ 13 public final Point3d delta = new Point3d(); 14 15 /** stif */ 16 public Double stiffness; 17 18 /** rotstif */ 19 public Double rotationStiffness; 8 public class MechJoint extends BaseJoint { 20 9 21 10 /** stress */ 22 11 public Double stress; 12 public Double getStress() { return stress; } 13 public void setStress(Double stress) { this.stress = stress; } 23 14 24 15 /** rotstress */ 25 16 public Double rotationStress; 26 27 public Double getRx() { return rotation.x; }28 public void setRx(Double rx) { rotation.x = rx; }29 30 public Double getRy() { return rotation.y; }31 public void setRy(Double ry) { rotation.y = ry; }32 33 public Double getRz() { return rotation.z; }34 public void setRz(Double rz) { rotation.z = rz; }35 36 public Double getDx() { return delta.x; }37 public void setDx(Double dx) { delta.x = dx; }38 39 public Double getDy() { return delta.y; }40 public void setDy(Double dy) { delta.y = dy; }41 42 public Double getDz() { return delta.z; }43 public void setDz(Double dz) { delta.z = dz; }44 45 public Double getStif() { return stiffness; }46 public void setStif(Double stif) { stiffness = stif; }47 48 public Double getRotstif() { return rotationStiffness; }49 public void setRotstif(Double rotstif) { rotationStiffness = rotstif; }50 51 public Double getStress() { return stress; }52 public void setStress(Double stress) { this.stress = stress; }53 54 17 public Double getRotstress() { return rotationStress; } 55 18 public void setRotstress(Double rotstress) { rotationStress = rotstress; } 56 57 19 }
Note: See TracChangeset
for help on using the changeset viewer.