Package org.hibernate.spatial.jts
Class EnvelopeAdapter
- java.lang.Object
-
- org.hibernate.spatial.jts.EnvelopeAdapter
-
public class EnvelopeAdapter extends java.lang.Object
Converts anEnvelope
to aPolygon
-
-
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 specifiedEnvelope
to aPolygon
having the specified srid.
-
-
-
Method Detail
-
toPolygon
public static com.vividsolutions.jts.geom.Polygon toPolygon(com.vividsolutions.jts.geom.Envelope env, int srid)
Converts the specifiedEnvelope
to aPolygon
having the specified srid.- Parameters:
env
- The envelope to convertsrid
- The srid for the polygon- Returns:
- The Polygon
-
setGeometryFactory
public static void setGeometryFactory(com.vividsolutions.jts.geom.GeometryFactory gf)
-
-