public class JudgementBase<U extends org.locationtech.jts.geom.Geometry> extends Object implements Serializable
Constructor and 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.
|
Modifier and Type | Method and Description |
---|---|
boolean |
match(org.locationtech.jts.geom.Geometry spatialObject,
org.locationtech.jts.geom.Geometry queryWindow) |
static SpatialPredicate |
resolveSpatialPredicate(boolean considerBoundaryIntersection,
boolean leftCoveredByRight) |
public JudgementBase(U queryWindow, SpatialPredicate spatialPredicate)
queryWindow
- the query windowspatialPredicate
- spatial predicate in query criteria geom <spatialPredicate> queryWindow
public JudgementBase(U queryWindow, boolean considerBoundaryIntersection, boolean leftCoveredByRight)
queryWindow
- the query windowconsiderBoundaryIntersection
- the consider boundary intersectionleftCoveredByRight
- query window covered by geometry, or query window covers geometry.
only effective when considerBoundaryIntersection
was falsepublic boolean match(org.locationtech.jts.geom.Geometry spatialObject, org.locationtech.jts.geom.Geometry queryWindow)
public static SpatialPredicate resolveSpatialPredicate(boolean considerBoundaryIntersection, boolean leftCoveredByRight)
Copyright © 2023 The Apache Software Foundation. All rights reserved.