@@ -0,0 +1,500 @@
+package com.github.davidmoten.rtree;%0A%0Apublic class Point implements Geometry %7B%0A%0A%09private final Rectangle mbr;%0A%0A%09public Point(float x, float y) %7B%0A%09%09this.mbr = Rectangle.create(x, y, x, y);%0A%09%7D%0A%0A%09@Override%0A%09public Rectangle mbr() %7B%0A%09%09return mbr;%0A%09%7D%0A%0A%09@Override%0A%09public double distance(Rectangle r) %7B%0A%09%09return mbr.distance(r);%0A%09%7D%0A%0A%09@Override%0A%09public boolean intersects(Rectangle r) %7B%0A%09%09return mbr.intersects(r);%0A%09%7D%0A%0A%09public float x() %7B%0A%09%09return mbr.x1();%0A%09%7D%0A%0A%09public float y() %7B%0A%09%09return mbr.y1();%0A%09%7D%0A%0A%7D%0A

add Point implementation of Geometry