Class SearchEnvelope


  • public class SearchEnvelope
    extends java.lang.Object
    • Method Detail

      • getMainEnvelope

        public org.locationtech.jts.geom.Envelope getMainEnvelope()
      • getWrapEnvelope

        public org.locationtech.jts.geom.Envelope getWrapEnvelope()
      • getSrsURI

        public java.lang.String getSrsURI()
      • getCrsInfo

        public SRSInfo getCrsInfo()
      • check

        public boolean check​(org.locationtech.jts.geom.Envelope envelope)
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • build

        public static SearchEnvelope build​(GeometryWrapper geometryWrapper,
                                           SRSInfo srsInfo)
        Parameters:
        geometryWrapper -
        srsInfo -
        Returns:
        Search envelope of the geometry in target SRS.
      • build

        public static SearchEnvelope build​(GeometryWrapper geometryWrapper,
                                           SRSInfo srsInfo,
                                           CardinalDirection direction)
        Build search envelope in the indicated cardinal direction.
        Geographic SRS will wrap for half world in East/West directions.
        Other SRS will extend to the valid domain.
        Parameters:
        geometryWrapper -
        srsInfo -
        direction -
        Returns:
        Search envelope in cardinal direction.