Package org.wololo.flatgeobuf
Class PackedRTree
- java.lang.Object
-
- org.wololo.flatgeobuf.PackedRTree
-
public class PackedRTree extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPackedRTree.SearchHitstatic classPackedRTree.SearchResult
-
Constructor Summary
Constructors Constructor Description PackedRTree()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static longcalcSize(int numItems, int nodeSize)static PackedRTree.SearchResultsearch(InputStream stream, int start, int numItems, int nodeSize, org.locationtech.jts.geom.Envelope rect)static ArrayList<PackedRTree.SearchHit>search(ByteBuffer bb, int start, int numItems, int nodeSize, org.locationtech.jts.geom.Envelope rect)
-
-
-
Method Detail
-
calcSize
public static long calcSize(int numItems, int nodeSize)
-
search
public static ArrayList<PackedRTree.SearchHit> search(ByteBuffer bb, int start, int numItems, int nodeSize, org.locationtech.jts.geom.Envelope rect)
-
search
public static PackedRTree.SearchResult search(InputStream stream, int start, int numItems, int nodeSize, org.locationtech.jts.geom.Envelope rect) throws IOException
- Throws:
IOException
-
-