public class FloatQuadTree.FloatQuadTreeNode extends QuadTree.QuadTreeNode implements IFloatBounds
mBottomLeftChild, mBottomRightChild, mItems, mLevel, mTopLeftChild, mTopRightChild| Constructor and Description |
|---|
FloatQuadTreeNode(int pLevel,
float pXMin,
float pYMin,
float pXMax,
float pYMax) |
FloatQuadTreeNode(int pLevel,
IFloatBounds pFloatBounds) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
appendBoundsToString(java.lang.StringBuilder pStringBuilder) |
protected boolean |
containedBy(IFloatBounds pFloatBounds) |
protected boolean |
contains(BoundsSplit pBoundsSplit,
IFloatBounds pFloatBounds) |
boolean |
contains(float pXMin,
float pYMin,
float pXMax,
float pYMax) |
protected boolean |
contains(IFloatBounds pFloatBounds) |
float |
getHeight() |
float |
getWidth() |
float |
getXMax() |
float |
getXMin() |
float |
getYMax() |
float |
getYMin() |
boolean |
intersects(float pXMin,
float pYMin,
float pXMax,
float pYMax) |
protected boolean |
intersects(IFloatBounds pFloatBounds) |
protected boolean |
intersects(IFloatBounds pFloatBoundsA,
IFloatBounds pFloatBoundsB) |
protected FloatQuadTree.FloatQuadTreeNode |
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 FloatQuadTreeNode(int pLevel,
IFloatBounds pFloatBounds)
public FloatQuadTreeNode(int pLevel,
float pXMin,
float pYMin,
float pXMax,
float pYMax)
public float getXMin()
getXMin in interface IFloatBoundspublic float getYMin()
getYMin in interface IFloatBoundspublic float getXMax()
getXMax in interface IFloatBoundspublic float getYMax()
getYMax in interface IFloatBoundspublic float getWidth()
public float getHeight()
protected FloatQuadTree.FloatQuadTreeNode split(BoundsSplit pBoundsSplit)
split in class QuadTree.QuadTreeNodeprotected boolean contains(IFloatBounds pFloatBounds)
contains in class QuadTree.QuadTreeNodeprotected boolean contains(BoundsSplit pBoundsSplit, IFloatBounds pFloatBounds)
contains in class QuadTree.QuadTreeNodeprotected boolean intersects(IFloatBounds pFloatBounds)
intersects in class QuadTree.QuadTreeNodeprotected boolean intersects(IFloatBounds pFloatBoundsA, IFloatBounds pFloatBoundsB)
intersects in class QuadTree.QuadTreeNodeprotected boolean containedBy(IFloatBounds pFloatBounds)
containedBy in class QuadTree.QuadTreeNodeprotected void appendBoundsToString(java.lang.StringBuilder pStringBuilder)
appendBoundsToString in class QuadTree.QuadTreeNodepublic boolean intersects(float pXMin,
float pYMin,
float pXMax,
float pYMax)
public boolean contains(float pXMin,
float pYMin,
float pXMax,
float pYMax)