public abstract class LongQuadTree<B> extends Object
Modifier and Type | Class and Description |
---|---|
static interface |
LongQuadTree.Accumulator<B> |
static interface |
LongQuadTree.Node<B> |
Constructor and Description |
---|
LongQuadTree(B rootBucket) |
Modifier and Type | Method and Description |
---|---|
void |
accumulate(long xMin,
long xMax,
long yMin,
long yMax,
LongQuadTree.Accumulator<B> accumulator) |
com.metsci.glimpse.util.quadtree.longvalued.LongQuadTree.LeafNode<B> |
leaf(long x,
long y) |
static int |
quadrant(long xDivider,
long yDivider,
long x,
long y)
0 = small-x small-y
1 = large-x small-y
2 = small-x large-y
3 = large-x large-y
|
public LongQuadTree(B rootBucket)
public static int quadrant(long xDivider, long yDivider, long x, long y)
public com.metsci.glimpse.util.quadtree.longvalued.LongQuadTree.LeafNode<B> leaf(long x, long y)
public void accumulate(long xMin, long xMax, long yMin, long yMax, LongQuadTree.Accumulator<B> accumulator)
Copyright © 2016 Metron, Inc.. All rights reserved.