From 04159b610f25c0738a134db56e506953051644e2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Johannes=20Sch=C3=BCth?= Date: Tue, 4 Apr 2017 22:16:10 +0200 Subject: [PATCH] Update README --- README | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/README b/README index f71c545..6db2330 100644 --- a/README +++ b/README @@ -1 +1,16 @@ -Simple java implementation of a quadtree \ No newline at end of file +# JavaQuadTree + +Just a simple java implementation of a quadtree + +## Usage + +``` +PointQuadTree tree = new PointQuadTree(new Point(0, 0), new Dimension(600, 600)); + tree.insert(1, 3, "1"); + tree.insert(11, 32, "2"); + tree.insert(11, 52, "3"); + tree.insert(454, 555, "4"); + tree.insert(353, 555, "5"); + tree.insert(552, 555, "6"); + tree.insert(551, 555, "7"); +```