Class JudgementBase<U extends org.locationtech.jts.geom.Geometry>

    • Constructor Detail

      • JudgementBase

        public JudgementBase​(U queryWindow,
                             SpatialPredicate spatialPredicate)
        Instantiates a new range filter using index.
        Parameters:
        queryWindow - the query window
        spatialPredicate - spatial predicate in query criteria geom <spatialPredicate> queryWindow
      • JudgementBase

        public JudgementBase​(U queryWindow,
                             boolean considerBoundaryIntersection,
                             boolean leftCoveredByRight)
        Instantiates a new range filter using index.
        Parameters:
        queryWindow - the query window
        considerBoundaryIntersection - the consider boundary intersection
        leftCoveredByRight - query window covered by geometry, or query window covers geometry. only effective when considerBoundaryIntersection 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)