Package org.miv.pherd.ntree

Examples of org.miv.pherd.ntree.Anchor


    SpringBox box = (SpringBox) this.box;

    double k = box.k;
    double vz = box.getViewZone();
   
    Anchor lo = cell.getSpace().getLoAnchor();
    Anchor hi = cell.getSpace().getHiAnchor();

    double x1 = lo.x;
    double x2 = hi.x;
    double X1 = pos.x - (k * vz);
    double X2 = pos.x + (k * vz);
 
View Full Code Here


    this.is3D = is3D;
    this.random = randomNumberGenerator;

    if (is3D) {
      space = new OctreeCellSpace(new Anchor(-1, -1, -1), new Anchor(1,
          1, 1));
    } else {
      space = new QuadtreeCellSpace(new Anchor(-1, -1, -0.01f),
          new Anchor(1, 1, 0.01f));
    }

    this.nodes = new ParticleBox(nodesPerCell, space,
        new GraphCellData());
View Full Code Here

TOP

Related Classes of org.miv.pherd.ntree.Anchor

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.