Class DefaultSpatialAlgebra

  • All Implemented Interfaces:
    SpatialAlgebra

    @Deprecated
    final class DefaultSpatialAlgebra
    extends java.lang.Object
    implements SpatialAlgebra
    Deprecated.
    use JtsSpatialAlgebra instead.
    Default implementation of Spatial Algebra for use in situations where JTS support is not available.
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      org.locationtech.spatial4j.shape.Shape boundary​(org.locationtech.spatial4j.shape.Shape s)
      Deprecated.
       
      org.locationtech.spatial4j.shape.Shape buffer​(org.locationtech.spatial4j.shape.Shape s, double distance)
      Deprecated.
       
      private int compare​(org.locationtech.spatial4j.shape.Point p1, org.locationtech.spatial4j.shape.Point p2)
      Deprecated.
       
      org.locationtech.spatial4j.shape.Shape convexHull​(org.locationtech.spatial4j.shape.Shape s)
      Deprecated.
       
      private org.locationtech.spatial4j.shape.Shape createEmptyGeometry()
      Deprecated.
       
      private org.locationtech.spatial4j.shape.Shape createEmptyPoint()
      Deprecated.
       
      org.locationtech.spatial4j.shape.Shape difference​(org.locationtech.spatial4j.shape.Shape s1, org.locationtech.spatial4j.shape.Shape s2)
      Deprecated.
       
      boolean ehContains​(org.locationtech.spatial4j.shape.Shape s1, org.locationtech.spatial4j.shape.Shape s2)
      Deprecated.
       
      boolean ehCoveredBy​(org.locationtech.spatial4j.shape.Shape s1, org.locationtech.spatial4j.shape.Shape s2)
      Deprecated.
       
      boolean ehCovers​(org.locationtech.spatial4j.shape.Shape s1, org.locationtech.spatial4j.shape.Shape s2)
      Deprecated.
       
      boolean ehDisjoint​(org.locationtech.spatial4j.shape.Shape s1, org.locationtech.spatial4j.shape.Shape s2)
      Deprecated.
       
      boolean ehEquals​(org.locationtech.spatial4j.shape.Shape s1, org.locationtech.spatial4j.shape.Shape s2)
      Deprecated.
       
      boolean ehInside​(org.locationtech.spatial4j.shape.Shape s1, org.locationtech.spatial4j.shape.Shape s2)
      Deprecated.
       
      boolean ehMeet​(org.locationtech.spatial4j.shape.Shape s1, org.locationtech.spatial4j.shape.Shape s2)
      Deprecated.
       
      boolean ehOverlap​(org.locationtech.spatial4j.shape.Shape s1, org.locationtech.spatial4j.shape.Shape s2)
      Deprecated.
       
      org.locationtech.spatial4j.shape.Shape envelope​(org.locationtech.spatial4j.shape.Shape s)
      Deprecated.
       
      org.locationtech.spatial4j.shape.Shape intersection​(org.locationtech.spatial4j.shape.Shape s1, org.locationtech.spatial4j.shape.Shape s2)
      Deprecated.
       
      private <T> T notSupported()
      Deprecated.
       
      boolean rcc8dc​(org.locationtech.spatial4j.shape.Shape s1, org.locationtech.spatial4j.shape.Shape s2)
      Deprecated.
       
      boolean rcc8ec​(org.locationtech.spatial4j.shape.Shape s1, org.locationtech.spatial4j.shape.Shape s2)
      Deprecated.
       
      boolean rcc8eq​(org.locationtech.spatial4j.shape.Shape s1, org.locationtech.spatial4j.shape.Shape s2)
      Deprecated.
       
      boolean rcc8ntpp​(org.locationtech.spatial4j.shape.Shape s1, org.locationtech.spatial4j.shape.Shape s2)
      Deprecated.
       
      boolean rcc8ntppi​(org.locationtech.spatial4j.shape.Shape s1, org.locationtech.spatial4j.shape.Shape s2)
      Deprecated.
       
      boolean rcc8po​(org.locationtech.spatial4j.shape.Shape s1, org.locationtech.spatial4j.shape.Shape s2)
      Deprecated.
       
      boolean rcc8tpp​(org.locationtech.spatial4j.shape.Shape s1, org.locationtech.spatial4j.shape.Shape s2)
      Deprecated.
       
      boolean rcc8tppi​(org.locationtech.spatial4j.shape.Shape s1, org.locationtech.spatial4j.shape.Shape s2)
      Deprecated.
       
      boolean relate​(org.locationtech.spatial4j.shape.Shape s1, org.locationtech.spatial4j.shape.Shape s2, java.lang.String intersectionPattern)
      Deprecated.
       
      boolean sfContains​(org.locationtech.spatial4j.shape.Shape s1, org.locationtech.spatial4j.shape.Shape s2)
      Deprecated.
       
      boolean sfCrosses​(org.locationtech.spatial4j.shape.Shape s1, org.locationtech.spatial4j.shape.Shape s2)
      Deprecated.
       
      boolean sfDisjoint​(org.locationtech.spatial4j.shape.Shape s1, org.locationtech.spatial4j.shape.Shape s2)
      Deprecated.
       
      boolean sfEquals​(org.locationtech.spatial4j.shape.Shape s1, org.locationtech.spatial4j.shape.Shape s2)
      Deprecated.
       
      boolean sfIntersects​(org.locationtech.spatial4j.shape.Shape s1, org.locationtech.spatial4j.shape.Shape s2)
      Deprecated.
       
      boolean sfOverlaps​(org.locationtech.spatial4j.shape.Shape s1, org.locationtech.spatial4j.shape.Shape s2)
      Deprecated.
       
      boolean sfTouches​(org.locationtech.spatial4j.shape.Shape s1, org.locationtech.spatial4j.shape.Shape s2)
      Deprecated.
       
      boolean sfWithin​(org.locationtech.spatial4j.shape.Shape s1, org.locationtech.spatial4j.shape.Shape s2)
      Deprecated.
       
      org.locationtech.spatial4j.shape.Shape symDifference​(org.locationtech.spatial4j.shape.Shape s1, org.locationtech.spatial4j.shape.Shape s2)
      Deprecated.
       
      org.locationtech.spatial4j.shape.Shape union​(org.locationtech.spatial4j.shape.Shape s1, org.locationtech.spatial4j.shape.Shape s2)
      Deprecated.
       
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DefaultSpatialAlgebra

        DefaultSpatialAlgebra()
        Deprecated.
    • Method Detail

      • notSupported

        private <T> T notSupported()
        Deprecated.
      • createEmptyPoint

        private org.locationtech.spatial4j.shape.Shape createEmptyPoint()
        Deprecated.
      • createEmptyGeometry

        private org.locationtech.spatial4j.shape.Shape createEmptyGeometry()
        Deprecated.
      • convexHull

        public org.locationtech.spatial4j.shape.Shape convexHull​(org.locationtech.spatial4j.shape.Shape s)
        Deprecated.
        Specified by:
        convexHull in interface SpatialAlgebra
      • boundary

        public org.locationtech.spatial4j.shape.Shape boundary​(org.locationtech.spatial4j.shape.Shape s)
        Deprecated.
        Specified by:
        boundary in interface SpatialAlgebra
      • envelope

        public org.locationtech.spatial4j.shape.Shape envelope​(org.locationtech.spatial4j.shape.Shape s)
        Deprecated.
        Specified by:
        envelope in interface SpatialAlgebra
      • union

        public org.locationtech.spatial4j.shape.Shape union​(org.locationtech.spatial4j.shape.Shape s1,
                                                            org.locationtech.spatial4j.shape.Shape s2)
        Deprecated.
        Specified by:
        union in interface SpatialAlgebra
      • compare

        private int compare​(org.locationtech.spatial4j.shape.Point p1,
                            org.locationtech.spatial4j.shape.Point p2)
        Deprecated.
      • intersection

        public org.locationtech.spatial4j.shape.Shape intersection​(org.locationtech.spatial4j.shape.Shape s1,
                                                                   org.locationtech.spatial4j.shape.Shape s2)
        Deprecated.
        Specified by:
        intersection in interface SpatialAlgebra
      • symDifference

        public org.locationtech.spatial4j.shape.Shape symDifference​(org.locationtech.spatial4j.shape.Shape s1,
                                                                    org.locationtech.spatial4j.shape.Shape s2)
        Deprecated.
        Specified by:
        symDifference in interface SpatialAlgebra
      • difference

        public org.locationtech.spatial4j.shape.Shape difference​(org.locationtech.spatial4j.shape.Shape s1,
                                                                 org.locationtech.spatial4j.shape.Shape s2)
        Deprecated.
        Specified by:
        difference in interface SpatialAlgebra
      • relate

        public boolean relate​(org.locationtech.spatial4j.shape.Shape s1,
                              org.locationtech.spatial4j.shape.Shape s2,
                              java.lang.String intersectionPattern)
        Deprecated.
        Specified by:
        relate in interface SpatialAlgebra
      • sfEquals

        public boolean sfEquals​(org.locationtech.spatial4j.shape.Shape s1,
                                org.locationtech.spatial4j.shape.Shape s2)
        Deprecated.
        Specified by:
        sfEquals in interface SpatialAlgebra
      • sfDisjoint

        public boolean sfDisjoint​(org.locationtech.spatial4j.shape.Shape s1,
                                  org.locationtech.spatial4j.shape.Shape s2)
        Deprecated.
        Specified by:
        sfDisjoint in interface SpatialAlgebra
      • sfIntersects

        public boolean sfIntersects​(org.locationtech.spatial4j.shape.Shape s1,
                                    org.locationtech.spatial4j.shape.Shape s2)
        Deprecated.
        Specified by:
        sfIntersects in interface SpatialAlgebra
      • sfTouches

        public boolean sfTouches​(org.locationtech.spatial4j.shape.Shape s1,
                                 org.locationtech.spatial4j.shape.Shape s2)
        Deprecated.
        Specified by:
        sfTouches in interface SpatialAlgebra
      • sfCrosses

        public boolean sfCrosses​(org.locationtech.spatial4j.shape.Shape s1,
                                 org.locationtech.spatial4j.shape.Shape s2)
        Deprecated.
        Specified by:
        sfCrosses in interface SpatialAlgebra
      • sfWithin

        public boolean sfWithin​(org.locationtech.spatial4j.shape.Shape s1,
                                org.locationtech.spatial4j.shape.Shape s2)
        Deprecated.
        Specified by:
        sfWithin in interface SpatialAlgebra
      • sfContains

        public boolean sfContains​(org.locationtech.spatial4j.shape.Shape s1,
                                  org.locationtech.spatial4j.shape.Shape s2)
        Deprecated.
        Specified by:
        sfContains in interface SpatialAlgebra
      • sfOverlaps

        public boolean sfOverlaps​(org.locationtech.spatial4j.shape.Shape s1,
                                  org.locationtech.spatial4j.shape.Shape s2)
        Deprecated.
        Specified by:
        sfOverlaps in interface SpatialAlgebra
      • ehDisjoint

        public boolean ehDisjoint​(org.locationtech.spatial4j.shape.Shape s1,
                                  org.locationtech.spatial4j.shape.Shape s2)
        Deprecated.
        Specified by:
        ehDisjoint in interface SpatialAlgebra
      • ehMeet

        public boolean ehMeet​(org.locationtech.spatial4j.shape.Shape s1,
                              org.locationtech.spatial4j.shape.Shape s2)
        Deprecated.
        Specified by:
        ehMeet in interface SpatialAlgebra
      • ehOverlap

        public boolean ehOverlap​(org.locationtech.spatial4j.shape.Shape s1,
                                 org.locationtech.spatial4j.shape.Shape s2)
        Deprecated.
        Specified by:
        ehOverlap in interface SpatialAlgebra
      • ehCovers

        public boolean ehCovers​(org.locationtech.spatial4j.shape.Shape s1,
                                org.locationtech.spatial4j.shape.Shape s2)
        Deprecated.
        Specified by:
        ehCovers in interface SpatialAlgebra
      • ehCoveredBy

        public boolean ehCoveredBy​(org.locationtech.spatial4j.shape.Shape s1,
                                   org.locationtech.spatial4j.shape.Shape s2)
        Deprecated.
        Specified by:
        ehCoveredBy in interface SpatialAlgebra
      • ehInside

        public boolean ehInside​(org.locationtech.spatial4j.shape.Shape s1,
                                org.locationtech.spatial4j.shape.Shape s2)
        Deprecated.
        Specified by:
        ehInside in interface SpatialAlgebra
      • ehContains

        public boolean ehContains​(org.locationtech.spatial4j.shape.Shape s1,
                                  org.locationtech.spatial4j.shape.Shape s2)
        Deprecated.
        Specified by:
        ehContains in interface SpatialAlgebra
      • rcc8dc

        public boolean rcc8dc​(org.locationtech.spatial4j.shape.Shape s1,
                              org.locationtech.spatial4j.shape.Shape s2)
        Deprecated.
        Specified by:
        rcc8dc in interface SpatialAlgebra
      • rcc8ec

        public boolean rcc8ec​(org.locationtech.spatial4j.shape.Shape s1,
                              org.locationtech.spatial4j.shape.Shape s2)
        Deprecated.
        Specified by:
        rcc8ec in interface SpatialAlgebra
      • rcc8po

        public boolean rcc8po​(org.locationtech.spatial4j.shape.Shape s1,
                              org.locationtech.spatial4j.shape.Shape s2)
        Deprecated.
        Specified by:
        rcc8po in interface SpatialAlgebra
      • rcc8tppi

        public boolean rcc8tppi​(org.locationtech.spatial4j.shape.Shape s1,
                                org.locationtech.spatial4j.shape.Shape s2)
        Deprecated.
        Specified by:
        rcc8tppi in interface SpatialAlgebra
      • rcc8tpp

        public boolean rcc8tpp​(org.locationtech.spatial4j.shape.Shape s1,
                               org.locationtech.spatial4j.shape.Shape s2)
        Deprecated.
        Specified by:
        rcc8tpp in interface SpatialAlgebra
      • rcc8ntpp

        public boolean rcc8ntpp​(org.locationtech.spatial4j.shape.Shape s1,
                                org.locationtech.spatial4j.shape.Shape s2)
        Deprecated.
        Specified by:
        rcc8ntpp in interface SpatialAlgebra
      • rcc8ntppi

        public boolean rcc8ntppi​(org.locationtech.spatial4j.shape.Shape s1,
                                 org.locationtech.spatial4j.shape.Shape s2)
        Deprecated.
        Specified by:
        rcc8ntppi in interface SpatialAlgebra
      • buffer

        public org.locationtech.spatial4j.shape.Shape buffer​(org.locationtech.spatial4j.shape.Shape s,
                                                             double distance)
        Deprecated.
        Specified by:
        buffer in interface SpatialAlgebra
      • ehEquals

        public boolean ehEquals​(org.locationtech.spatial4j.shape.Shape s1,
                                org.locationtech.spatial4j.shape.Shape s2)
        Deprecated.
        Specified by:
        ehEquals in interface SpatialAlgebra
      • rcc8eq

        public boolean rcc8eq​(org.locationtech.spatial4j.shape.Shape s1,
                              org.locationtech.spatial4j.shape.Shape s2)
        Deprecated.
        Specified by:
        rcc8eq in interface SpatialAlgebra