Class GeometryUtils


  • public final class GeometryUtils
    extends java.lang.Object
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static boolean contains​(com.esri.core.geometry.ogc.OGCGeometry ogcGeometry, com.esri.core.geometry.Envelope envelope)  
      static boolean disjoint​(com.esri.core.geometry.Envelope envelope, com.esri.core.geometry.ogc.OGCGeometry ogcGeometry)  
      static com.esri.core.geometry.Envelope getEnvelope​(com.esri.core.geometry.ogc.OGCGeometry ogcGeometry)  
      static int getPointCount​(com.esri.core.geometry.ogc.OGCGeometry ogcGeometry)  
      static boolean isEsriNaN​(double d)  
      static boolean isPointOrRectangle​(com.esri.core.geometry.ogc.OGCGeometry ogcGeometry, com.esri.core.geometry.Envelope envelope)  
      static double translateToAVNaN​(double n)
      Copy of com.esri.core.geometry.Interop.translateToAVNaN
      • Methods inherited from class java.lang.Object

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

      • translateToAVNaN

        public static double translateToAVNaN​(double n)
        Copy of com.esri.core.geometry.Interop.translateToAVNaN

        JtsGeometrySerde#serialize must serialize NaN's the same way ESRI library does to achieve binary compatibility

      • isEsriNaN

        public static boolean isEsriNaN​(double d)
      • getPointCount

        public static int getPointCount​(com.esri.core.geometry.ogc.OGCGeometry ogcGeometry)
      • getEnvelope

        public static com.esri.core.geometry.Envelope getEnvelope​(com.esri.core.geometry.ogc.OGCGeometry ogcGeometry)
      • disjoint

        public static boolean disjoint​(com.esri.core.geometry.Envelope envelope,
                                       com.esri.core.geometry.ogc.OGCGeometry ogcGeometry)
      • contains

        public static boolean contains​(com.esri.core.geometry.ogc.OGCGeometry ogcGeometry,
                                       com.esri.core.geometry.Envelope envelope)
      • isPointOrRectangle

        public static boolean isPointOrRectangle​(com.esri.core.geometry.ogc.OGCGeometry ogcGeometry,
                                                 com.esri.core.geometry.Envelope envelope)