public class IntQuadTree.IntQuadTreeNode extends QuadTree.QuadTreeNode implements IIntBounds
mBottomLeftChild, mBottomRightChild, mItems, mLevel, mTopLeftChild, mTopRightChild| Constructor and Description |
|---|
IntQuadTreeNode(int pLevel,
IIntBounds pIntBounds) |
IntQuadTreeNode(int pLevel,
int pXMin,
int pYMin,
int pXMax,
int pYMax) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
appendBoundsToString(java.lang.StringBuilder pStringBuilder) |
protected boolean |
containedBy(IIntBounds pBounds) |
protected boolean |
contains(BoundsSplit pBoundsSplit,
IIntBounds pIntBounds) |
protected boolean |
contains(IIntBounds pIntBounds) |
boolean |
contains(int pXMin,
int pYMin,
int pXMax,
int pYMax) |
int |
getHeight() |
int |
getWidth() |
int |
getXMax() |
int |
getXMin() |
int |
getYMax() |
int |
getYMin() |
protected boolean |
intersects(IIntBounds pIntBounds) |
protected boolean |
intersects(IIntBounds pIntBoundsA,
IIntBounds pIntBoundsB) |
boolean |
intersects(int pXMin,
int pYMin,
int pXMax,
int pYMax) |
protected IntQuadTree.IntQuadTreeNode |
split(BoundsSplit pBoundsSplit) |
add, callItems, callNodes, clear, containsAny, containsAny, getItemCount, getItems, getItemsAndItemsBelow, getItemsAndItemsBelow, getItemsAndItemsBelow, getItemsAndItemsBelow, getItemsAndItemsBelowForSubclass, hasChildren, query, query, query, queryForSubclass, remove, remove, toString, toStringpublic IntQuadTreeNode(int pLevel,
IIntBounds pIntBounds)
public IntQuadTreeNode(int pLevel,
int pXMin,
int pYMin,
int pXMax,
int pYMax)
public int getXMin()
getXMin in interface IIntBoundspublic int getYMin()
getYMin in interface IIntBoundspublic int getXMax()
getXMax in interface IIntBoundspublic int getYMax()
getYMax in interface IIntBoundspublic int getWidth()
public int getHeight()
protected IntQuadTree.IntQuadTreeNode split(BoundsSplit pBoundsSplit)
split in class QuadTree.QuadTreeNodeprotected boolean contains(IIntBounds pIntBounds)
contains in class QuadTree.QuadTreeNodeprotected boolean contains(BoundsSplit pBoundsSplit, IIntBounds pIntBounds)
contains in class QuadTree.QuadTreeNodeprotected boolean intersects(IIntBounds pIntBounds)
intersects in class QuadTree.QuadTreeNodeprotected boolean intersects(IIntBounds pIntBoundsA, IIntBounds pIntBoundsB)
intersects in class QuadTree.QuadTreeNodeprotected boolean containedBy(IIntBounds pBounds)
containedBy in class QuadTree.QuadTreeNodeprotected void appendBoundsToString(java.lang.StringBuilder pStringBuilder)
appendBoundsToString in class QuadTree.QuadTreeNodepublic boolean intersects(int pXMin,
int pYMin,
int pXMax,
int pYMax)
public boolean contains(int pXMin,
int pYMin,
int pXMax,
int pYMax)