Interface Node<T>
-
-
Field Summary
Fields Modifier and Type Field Description static org.slf4j.Logger
log
static int
m
static int
M
static String
marginIncrement
-
Method Summary
-
Methods inherited from interface org.jungrapht.visualization.spatial.rtree.TreeNode
getBounds, getChildren
-
-
-
-
Field Detail
-
log
static final org.slf4j.Logger log
-
M
static final int M
- See Also:
- Constant Field Values
-
m
static final int m
- See Also:
- Constant Field Values
-
marginIncrement
static final String marginIncrement
- See Also:
- Constant Field Values
-
-
Method Detail
-
size
int size()
-
add
Node<T> add(SplitterContext<T> splitterContext, T element, Rectangle2D bounds)
-
isLeafChildren
boolean isLeafChildren()
-
count
int count()
-
centerOfGravity
Point2D centerOfGravity()
-
getContainingLeafs
Set<LeafNode<T>> getContainingLeafs(Set<LeafNode<T>> containingLeafs, double x, double y)
-
getContainingLeafs
Set<LeafNode<T>> getContainingLeafs(Set<LeafNode<T>> containingLeafs, Point2D p)
-
collectGrids
Collection<Shape> collectGrids(Collection<Shape> list)
-
asString
static String asString(Rectangle2D r)
-
asString
static <T> String asString(Map.Entry<T,Rectangle2D> entry)
-
entryBoundingBox
static <T> Rectangle2D entryBoundingBox(Collection<Map.Entry<T,Rectangle2D>> entries)
-
nodeBoundingBox
static <T> Rectangle2D nodeBoundingBox(Collection<Node<T>> nodes)
-
boundingBox
static Rectangle2D boundingBox(Collection<Rectangle2D> rectangles)
-
area
static double area(Collection<Rectangle2D> rectangles)
-
nodeArea
static <T> double nodeArea(Collection<Node<T>> nodes)
-
entryArea
static <T> double entryArea(Collection<Map.Entry<T,Rectangle2D>> entries)
-
entryArea
static <T> double entryArea(Collection<Map.Entry<T,Rectangle2D>> left, Collection<Map.Entry<T,Rectangle2D>> right)
-
nodeArea
static <T> double nodeArea(Collection<Node<T>> left, Collection<Node<T>> right)
-
area
static double area(Collection<Rectangle2D> left, Collection<Rectangle2D> right)
-
area
static double area(Rectangle2D r)
-
area
static double area(Rectangle2D left, Rectangle2D right)
-
margin
static double margin(Collection<Rectangle2D> rectangles)
-
margin
static double margin(Rectangle2D r)
-
margin
static double margin(Rectangle2D left, Rectangle2D right)
-
margin
static double margin(Collection<Rectangle2D> left, Collection<Rectangle2D> right)
-
nodeMargin
static <T> double nodeMargin(Collection<Node<T>> left, Collection<Node<T>> right)
-
entryMargin
static <T> double entryMargin(Collection<Map.Entry<T,Rectangle2D>> left, Collection<Map.Entry<T,Rectangle2D>> right)
-
entryOverlap
static <T> double entryOverlap(Collection<Map.Entry<T,Rectangle2D>> left, Collection<Map.Entry<T,Rectangle2D>> right)
-
nodeOverlap
static <T> double nodeOverlap(Collection<Node<T>> left, Collection<Node<T>> right)
-
overlap
static double overlap(Collection<Rectangle2D> left, Collection<Rectangle2D> right)
-
overlap
static double overlap(Rectangle2D left, Rectangle2D right)
-
union
static Rectangle2D union(Collection<? extends Bounded> boundedItems)
-
width
static double width(Collection<? extends Bounded> boundedItems)
-
-