优先级R-Tree的Java实现 PRTree

fmms 13年前
     <p>PRTree是一个实现了优先级R-Tree以及空间索引的Java开发包,代码示例:</p>    <p></p>    <pre class="brush:cpp; toolbar: true; auto-links: false;">PRTree tree = new PRTree (new Rectangle2DConverter (), 10); Rectangle2D rx = new Rectangle2D.Double (0, 0, 1, 1); tree.load (Collections.singletonList (rx)); for (Rectangle2D r : tree.find (0, 0, 1, 1)) {     System.out.println ("found a rectangle: " + r); }</pre>    <p><strong>项目主页:</strong><a href="http://www.open-open.com/lib/view/home/1326939652233" target="_blank">http://www.open-open.com/lib/view/home/1326939652233</a></p>    <p></p>