public class EnvelopeAdapter
extends java.lang.Object
Envelope
to a Polygon
Modifier and Type | Method and 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. |
public static com.vividsolutions.jts.geom.Polygon toPolygon(com.vividsolutions.jts.geom.Envelope env, int srid)
Envelope
to a Polygon
having the specified srid.env
- The envelope to convertsrid
- The srid for the polygonpublic static void setGeometryFactory(com.vividsolutions.jts.geom.GeometryFactory gf)
Copyright © 2001-2018 Red Hat, Inc. All Rights Reserved.