Package barsuift.simLife.j3d.tree

Examples of barsuift.simLife.j3d.tree.TreeBranch3DState


        int nbParts = 3;
        List<TreeBranchPartState> branchPartStates = new ArrayList<TreeBranchPartState>(nbParts);
        for (int i = 0; i < nbParts; i++) {
            branchPartStates.add(createSpecificTreeBranchPartState());
        }
        TreeBranch3DState branch3DState = DisplayDataCreatorForTests.createRandomTreeBranch3DState();
        return new TreeBranchState(createRandomId(), age, energy, freeEnergy, branchPartStates, branch3DState);
    }
View Full Code Here


        this.branchPartStates = new ArrayList<TreeBranchPartState>();
        this.id = new Long(0);
        this.age = 0;
        this.energy = new BigDecimal(0);
        this.freeEnergy = new BigDecimal(0);
        this.branch3DState = new TreeBranch3DState();
    }
View Full Code Here

        this.freeEnergy = copy.freeEnergy;
        this.branchPartStates = new ArrayList<TreeBranchPartState>();
        for (TreeBranchPartState branchPartState : copy.branchPartStates) {
            branchPartStates.add(new TreeBranchPartState(branchPartState));
        }
        this.branch3DState = new TreeBranch3DState(copy.branch3DState);
    }
View Full Code Here

        super();
        this.branchPartStates = new ArrayList<TreeBranchPartState>();
        this.creationMillis = 0;
        this.energy = new BigDecimal(0);
        this.freeEnergy = new BigDecimal(0);
        this.branch3DState = new TreeBranch3DState();
    }
View Full Code Here

        int nbParts = Randomizer.randomBetween(2, 4);
        List<TreeBranchPartState> branchPartStates = new ArrayList<TreeBranchPartState>(nbParts);
        for (int i = 0; i < nbParts; i++) {
            branchPartStates.add(createRandomTreeBranchPartState());
        }
        TreeBranch3DState branch3DState = DisplayDataCreatorForTests.createRandomTreeBranch3DState();
        return new TreeBranchState(age, energy, freeEnergy, branchPartStates, branch3DState);
    }
View Full Code Here

        int nbParts = 3;
        List<TreeBranchPartState> branchPartStates = new ArrayList<TreeBranchPartState>(nbParts);
        for (int i = 0; i < nbParts; i++) {
            branchPartStates.add(createSpecificTreeBranchPartState());
        }
        TreeBranch3DState branch3DState = DisplayDataCreatorForTests.createRandomTreeBranch3DState();
        return new TreeBranchState(age, energy, freeEnergy, branchPartStates, branch3DState);
    }
View Full Code Here

TOP

Related Classes of barsuift.simLife.j3d.tree.TreeBranch3DState

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.