Menu

Commit [r278]  Maximize  Restore  History

Changes and Bugfixes to QuadTree:

- clear() now resets size to 0, sets hasChilds to false, increases modCount by 1
- added method get(double minX, double minY, double maxX, double maxY, Collection<T> values) to get all elements within the specified area.
- added methods get{Min,Max}{Easting,Northing}() to get the extend specified in the constructor.
- made QuadTree.Executor a static inner class, which requires thus again the Generic T (--> influence on other classes using the Executor)
- javadoc improvements

mrieser 2007-12-26

changed /matsim/trunk/src/org/matsim/utils/misc/QuadTree.java
changed /matsim/trunk/src/playground/david/vis/data/OTFClientQuad.java
changed /matsim/trunk/src/playground/david/vis/data/OTFServerQuad.java
/matsim/trunk/src/org/matsim/utils/misc/QuadTree.java Diff Switch to side-by-side view
Loading...
/matsim/trunk/src/playground/david/vis/data/OTFClientQuad.java Diff Switch to side-by-side view
Loading...
/matsim/trunk/src/playground/david/vis/data/OTFServerQuad.java Diff Switch to side-by-side view
Loading...