Class BarnesHutQuadTree.Builder<T>
- java.lang.Object
-
- org.jungrapht.visualization.layout.quadtree.BarnesHutQuadTree.Builder<T>
-
- Enclosing class:
- BarnesHutQuadTree<T>
public static class BarnesHutQuadTree.Builder<T> extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BarnesHutQuadTree.Builder
bounds(double width, double height)
BarnesHutQuadTree.Builder
bounds(double x, double y, double width, double height)
BarnesHutQuadTree.Builder
bounds(Rectangle bounds)
BarnesHutQuadTree<T>
build()
BarnesHutQuadTree.Builder
theta(double theta)
-
-
-
Field Detail
-
theta
protected double theta
-
bounds
protected Rectangle bounds
-
-
Method Detail
-
bounds
public BarnesHutQuadTree.Builder bounds(Rectangle bounds)
-
bounds
public BarnesHutQuadTree.Builder bounds(double x, double y, double width, double height)
-
bounds
public BarnesHutQuadTree.Builder bounds(double width, double height)
-
theta
public BarnesHutQuadTree.Builder theta(double theta)
-
build
public BarnesHutQuadTree<T> build()
-
-