Uses of Class
org.djutils.quadtree.Rectangle
-
Packages that use Rectangle Package Description org.djutils.quadtree Quad tree that can store 2D objects. -
-
Uses of Rectangle in org.djutils.quadtree
Methods in org.djutils.quadtree that return Rectangle Modifier and Type Method Description RectangleQuadTree.SubTree. getBoundingBox()Retrieve the bounding box of this sub tree.RectangleEnvelope. getBoundingRectangle()Determine the bounding box.RectangleRectangleAndPayload. getRectangle()Retrieve the bounding rectangle.Methods in org.djutils.quadtree with parameters of type Rectangle Modifier and Type Method Description booleanRectangle. contains(Rectangle other)Determine if this Rectangle contains all points of another Rectangle.booleanRectangle. intersects(Rectangle other)Determine if this Rectangle intersects another Rectangle.Iterator<T>QuadTree. iterator(Rectangle searchArea)Find all elements intersecting a given bounding box.Set<RectangleAndPayload<T>>QuadTree.SubTree. recursiveCollect(Rectangle rectangle)Recursively collect all elements that intersect the given rectangle.Constructors in org.djutils.quadtree with parameters of type Rectangle Constructor Description RectangleAndPayload(Rectangle rectangle, T payload)Construct a new RectangleAndPayload object.SubTree(QuadTree<T> root, Rectangle boundingBox)Construct a new sub tree.
-