Class EnvelopeAdapter


  • public class EnvelopeAdapter
    extends java.lang.Object
    Converts an Envelope to a Polygon
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void setGeometryFactory​(com.vividsolutions.jts.geom.GeometryFactory gf)  
      static com.vividsolutions.jts.geom.Polygon toPolygon​(com.vividsolutions.jts.geom.Envelope env, int srid)
      Converts the specified Envelope to a Polygon having the specified srid.
      • Methods inherited from class java.lang.Object

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

      • toPolygon

        public static com.vividsolutions.jts.geom.Polygon toPolygon​(com.vividsolutions.jts.geom.Envelope env,
                                                                    int srid)
        Converts the specified Envelope to a Polygon having the specified srid.
        Parameters:
        env - The envelope to convert
        srid - The srid for the polygon
        Returns:
        The Polygon
      • setGeometryFactory

        public static void setGeometryFactory​(com.vividsolutions.jts.geom.GeometryFactory gf)