// Path: src/main/java/com/github/davidmoten/rtree/geometry/Point.java
// public interface Point extends Rectangle {
// 
//     double x();
// 
//     double y();
// 
// }


import java.util.Arrays;
import java.util.List;
import com.github.davidmoten.rtree.geometry.Point;
import rx.Observable;
package com.github.davidmoten.rtree;




public class GalleryMain {

    public static void main(String[] args) {
        Observable<Entry<Object, Point>> entries = GreekEarthquakes.entries(Precision.DOUBLE)
                .cache();

        List<Integer> sizes = Arrays.asList(100, 1000, 10000, 1000000);
        List<Integer> maxChildrenValues = Arrays.asList(4, 8, 16, 32, 64, 128);
        for (int size : sizes)
            for (int maxChildren : maxChildrenValues) {
                if (size > maxChildren) {
                    System.out.println("saving " + size + " m=" + maxChildren);
// Path: src/main/java/com/github/davidmoten/rtree/geometry/Point.java
// public interface Point extends Rectangle {
// 
//     double x();
// 
//     double y();
// 
// }


// Path: src/test/java/com/github/davidmoten/rtree/GalleryMain.java
import java.util.Arrays;
import java.util.List;
import com.github.davidmoten.rtree.geometry.Point;
import rx.Observable;

package com.github.davidmoten.rtree;




public class GalleryMain {

    public static void main(String[] args) {
        Observable<Entry<Object, Point>> entries = GreekEarthquakes.entries(Precision.DOUBLE)
                .cache();

        List<Integer> sizes = Arrays.asList(100, 1000, 10000, 1000000);
        List<Integer> maxChildrenValues = Arrays.asList(4, 8, 16, 32, 64, 128);
        for (int size : sizes)
            for (int maxChildren : maxChildrenValues) {
                if (size > maxChildren) {
                    System.out.println("saving " + size + " m=" + maxChildren);
                    RTree<Object, Point> tree = RTree.maxChildren(maxChildren)