public interface QuadTree<T extends Positionable> extends PositionChangeListener<T>, Parallelogram
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
add(T element)  | 
void | 
addAll(com.badlogic.gdx.utils.Array<T> elements)  | 
void | 
debugRender(Graphics g)  | 
com.badlogic.gdx.utils.Array<T> | 
getElements()  | 
void | 
getElements(com.badlogic.gdx.utils.Array<T> result)  | 
void | 
getElementsContainingPoint(com.badlogic.gdx.utils.Array<T> result,
                          Point point)  | 
com.badlogic.gdx.utils.Array<T> | 
getElementsContainingPoint(Point point)  | 
void | 
getElementsIntersectingLineSegment(com.badlogic.gdx.utils.Array<T> result,
                                  LineSegment lineSegment)  | 
com.badlogic.gdx.utils.Array<T> | 
getElementsIntersectingLineSegment(LineSegment lineSegment)  | 
void | 
getElementsWithinArea(com.badlogic.gdx.utils.Array<T> result,
                     Shape area)  | 
com.badlogic.gdx.utils.Array<T> | 
getElementsWithinArea(Shape area)  | 
float | 
getMinimumQuadHeight()  | 
float | 
getMinimumQuadWidth()  | 
QuadTree<T> | 
getParent()  | 
int | 
getTotalElements()  | 
int | 
getTotalQuads()  | 
boolean | 
remove(T element)  | 
void | 
removeAll(com.badlogic.gdx.utils.Array<T> elements)  | 
positionChangedcontains, contains, getHeight, getMaxX, getMaxY, getRotation, getWidth, getX, getY, intersects, intersects, intersectsLineSegment, rotate, rotateAround, setRotation, setRotationAroundvoid debugRender(Graphics g)
boolean add(T element)
boolean remove(T element)
void addAll(com.badlogic.gdx.utils.Array<T> elements)
void removeAll(com.badlogic.gdx.utils.Array<T> elements)
void getElementsWithinArea(com.badlogic.gdx.utils.Array<T> result, Shape area)
com.badlogic.gdx.utils.Array<T> getElementsIntersectingLineSegment(LineSegment lineSegment)
void getElementsIntersectingLineSegment(com.badlogic.gdx.utils.Array<T> result, LineSegment lineSegment)
void getElementsContainingPoint(com.badlogic.gdx.utils.Array<T> result, Point point)
com.badlogic.gdx.utils.Array<T> getElements()
void getElements(com.badlogic.gdx.utils.Array<T> result)
int getTotalQuads()
int getTotalElements()
float getMinimumQuadWidth()
float getMinimumQuadHeight()