|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectbarsuift.simLife.j3d.tree.TreeLeaf3DStateFactory
public class TreeLeaf3DStateFactory
| Constructor Summary | |
|---|---|
TreeLeaf3DStateFactory()
|
|
| Method Summary | |
|---|---|
TreeLeaf3DState |
createNewTreeLeaf3DState(javax.vecmath.Point3d leafAttachPoint)
Create a new leaf3D state with : the given attach point initial end point 1 : (-0.02±0.01, -0.04±0.01, 0) initial end point 2 : (0.02±0.01, -0.04±0.01, 0) end point 1 : initial end point 1 end point 2 : initial end point 2 rotation : a random number between 0 and 2 PI |
TreeLeaf3DState |
createRandomTreeLeaf3DState(javax.vecmath.Point3d leafAttachPoint)
Create a random leaf3D state with : the given attach point initial end point 1 : (-0.02±0.01, -0.04±0.01, 0) initial end point 2 : (0.02±0.01, -0.04±0.01, 0) end point 1 : 10 * initial end point 1 end point 2 : 10 * initial end point 2 rotation : a random number between 0 and 2 PI |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TreeLeaf3DStateFactory()
| Method Detail |
|---|
public TreeLeaf3DState createRandomTreeLeaf3DState(javax.vecmath.Point3d leafAttachPoint)
public TreeLeaf3DState createNewTreeLeaf3DState(javax.vecmath.Point3d leafAttachPoint)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||