[77] | 1 | package com.framsticks.model; |
---|
| 2 | |
---|
| 3 | import com.framsticks.util.Point3d; |
---|
| 4 | |
---|
| 5 | /** |
---|
| 6 | * @author Piotr Sniegowski |
---|
| 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; |
---|
| 20 | |
---|
| 21 | /** stress */ |
---|
| 22 | public Double stress; |
---|
| 23 | |
---|
| 24 | /** rotstress */ |
---|
| 25 | 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 | public Double getRotstress() { return rotationStress; } |
---|
| 55 | public void setRotstress(Double rotstress) { rotationStress = rotstress; } |
---|
| 56 | |
---|
| 57 | } |
---|