Ignore:
Timestamp:
01/09/13 00:09:10 (11 years ago)
Author:
psniegowski
Message:

Add f0 parsing and f0->Model transformation.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • java/main/src/main/java/com/framsticks/model/MechJoint.java

    r77 r78  
    66 * @author Piotr Sniegowski
    77 */
    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;
     8public class MechJoint extends BaseJoint {
    209
    2110        /** stress */
    2211        public Double stress;
     12        public Double getStress() { return stress; }
     13        public void setStress(Double stress) { this.stress = stress; }
    2314
    2415        /** rotstress */
    2516        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 
    5417        public Double getRotstress() { return rotationStress; }
    5518        public void setRotstress(Double rotstress) { rotationStress = rotstress; }
    56 
    5719}
Note: See TracChangeset for help on using the changeset viewer.