Class EnvelopeAdapter

java.lang.Object
org.hibernate.spatial.jts.EnvelopeAdapter

public class EnvelopeAdapter extends Object
Converts an Envelope to a Polygon
  • Method Details

    • toPolygon

      public static org.locationtech.jts.geom.Polygon toPolygon(org.locationtech.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(org.locationtech.jts.geom.GeometryFactory gf)