[77] | 1 | package com.framsticks.model; |
---|
| 2 | |
---|
| 3 | |
---|
| 4 | import com.framsticks.util.Point3d; |
---|
| 5 | |
---|
| 6 | /** |
---|
| 7 | * The Class Part. |
---|
| 8 | */ |
---|
| 9 | public class Part { |
---|
| 10 | |
---|
| 11 | /** x, y, z*/ |
---|
| 12 | public final Point3d position = new Point3d(); |
---|
| 13 | |
---|
| 14 | /** rx, ry, rz*/ |
---|
| 15 | public final Point3d rotation = new Point3d(); |
---|
| 16 | |
---|
| 17 | /** m */ |
---|
| 18 | public Double mass; |
---|
| 19 | |
---|
| 20 | /** s */ |
---|
| 21 | public Double size; |
---|
| 22 | |
---|
| 23 | /** dn */ |
---|
| 24 | public Double density; |
---|
| 25 | |
---|
| 26 | /** fr */ |
---|
| 27 | public Double friction; |
---|
| 28 | |
---|
| 29 | /** ing */ |
---|
| 30 | public Double ingestion; |
---|
| 31 | |
---|
| 32 | /** as */ |
---|
| 33 | public Double assimilation; |
---|
| 34 | |
---|
| 35 | /** i */ |
---|
| 36 | public String info; |
---|
| 37 | |
---|
| 38 | /** Vstyle */ |
---|
| 39 | public String visualizationStyle; |
---|
| 40 | |
---|
| 41 | public Double getX() { return position.x; } |
---|
| 42 | public void setX(Double x) { position.x = x; } |
---|
| 43 | |
---|
| 44 | public Double getY() { return position.y; } |
---|
| 45 | public void setY(Double y) { position.y = y; } |
---|
| 46 | |
---|
| 47 | public Double getZ() { return position.z; } |
---|
| 48 | public void setZ(Double z) { position.z = z; } |
---|
| 49 | |
---|
| 50 | public Double getM() { return mass; } |
---|
| 51 | public void setM(Double m) { mass = m; } |
---|
| 52 | |
---|
| 53 | public Double getS() { return size; } |
---|
| 54 | public void setS(Double s) { size = s; } |
---|
| 55 | |
---|
| 56 | public Double getDn() { return density; } |
---|
| 57 | public void setDn(Double dn) { density = dn; } |
---|
| 58 | |
---|
| 59 | public Double getFr() { return friction; } |
---|
| 60 | public void setFr(Double fr) { friction = fr; } |
---|
| 61 | |
---|
| 62 | public Double getIng() { return ingestion; } |
---|
| 63 | public void setIng(Double ing) { ingestion = ing; } |
---|
| 64 | |
---|
| 65 | public Double getAs() { return assimilation; } |
---|
| 66 | public void setAs(Double as) { assimilation = as; } |
---|
| 67 | |
---|
| 68 | public Double getRx() { return rotation.x; } |
---|
| 69 | public void setRx(Double rx) { rotation.x = rx; } |
---|
| 70 | |
---|
| 71 | public Double getRy() { return rotation.y; } |
---|
| 72 | public void setRy(Double ry) { rotation.y = ry; } |
---|
| 73 | |
---|
| 74 | public Double getRz() { return rotation.z; } |
---|
| 75 | public void setRz(Double rz) { rotation.z = rz; } |
---|
| 76 | |
---|
| 77 | public String getI() { return info; } |
---|
| 78 | public void setI(String i) { info = i; } |
---|
| 79 | |
---|
| 80 | public String getVstyle() { return visualizationStyle; } |
---|
| 81 | public void setVstyle(String vstyle) { visualizationStyle = vstyle; } |
---|
| 82 | |
---|
| 83 | } |
---|