Class JudgementBase<U extends org.locationtech.jts.geom.Geometry>
- java.lang.Object
-
- org.apache.sedona.core.rangeJudgement.JudgementBase<U>
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
RangeFilter
,RangeFilterUsingIndex
public class JudgementBase<U extends org.locationtech.jts.geom.Geometry> extends Object implements Serializable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description JudgementBase(U queryWindow, boolean considerBoundaryIntersection, boolean leftCoveredByRight)
Instantiates a new range filter using index.JudgementBase(U queryWindow, SpatialPredicate spatialPredicate)
Instantiates a new range filter using index.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
match(org.locationtech.jts.geom.Geometry spatialObject, org.locationtech.jts.geom.Geometry queryWindow)
static SpatialPredicate
resolveSpatialPredicate(boolean considerBoundaryIntersection, boolean leftCoveredByRight)
-
-
-
Constructor Detail
-
JudgementBase
public JudgementBase(U queryWindow, SpatialPredicate spatialPredicate)
Instantiates a new range filter using index.- Parameters:
queryWindow
- the query windowspatialPredicate
- spatial predicate in query criteriageom <spatialPredicate> queryWindow
-
JudgementBase
public JudgementBase(U queryWindow, boolean considerBoundaryIntersection, boolean leftCoveredByRight)
Instantiates a new range filter using index.- Parameters:
queryWindow
- the query windowconsiderBoundaryIntersection
- the consider boundary intersectionleftCoveredByRight
- query window covered by geometry, or query window covers geometry. only effective whenconsiderBoundaryIntersection
was false
-
-
Method Detail
-
match
public boolean match(org.locationtech.jts.geom.Geometry spatialObject, org.locationtech.jts.geom.Geometry queryWindow)
-
resolveSpatialPredicate
public static SpatialPredicate resolveSpatialPredicate(boolean considerBoundaryIntersection, boolean leftCoveredByRight)
-
-