public class SpatialAlgorithms
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
SpatialAlgorithms.RectangleID
MBR of a shape along with its ID.
|
Modifier and Type | Field and Description |
---|---|
static Log |
LOG |
Constructor and Description |
---|
SpatialAlgorithms() |
Modifier and Type | Method and Description |
---|---|
static <S extends Shape> |
SelfJoin_planeSweep(S[] R,
boolean refine,
The general version of self join algorithm which works with arbitrary
shapes.
|
static <S extends Rectangle> |
SelfJoin_rectangles(S[] rs,
Self join of rectangles.
|
static <S1 extends Shape,S2 extends Shape> |
SpatialJoin_planeSweep(java.util.List<S1> R,
java.util.List<S2> S,
ResultCollector2<S1,S2> output) |
static <S1 extends Shape,S2 extends Shape> |
SpatialJoin_planeSweep(S1[] R,
S2[] S,
ResultCollector2<S1,S2> output) |
public static <S1 extends Shape,S2 extends Shape> int SpatialJoin_planeSweep(java.util.List<S1> R, java.util.List<S2> S, ResultCollector2<S1,S2> output) throws java.io.IOException
R
- S
- output
- java.io.IOException
public static <S1 extends Shape,S2 extends Shape> int SpatialJoin_planeSweep(S1[] R, S2[] S, ResultCollector2<S1,S2> output)
public static <S extends Rectangle> int SelfJoin_rectangles(S[] rs,output) throws java.io.IOException
rs
- output
- java.io.IOException
public static <S extends Shape> int SelfJoin_planeSweep(S[] R, boolean refine,output) throws java.io.IOException
R
- - input set of shapesrefine
- - Whether or not to run a refine stepoutput
- - output collector where the results are reportedjava.io.IOException