public class EnvelopeAdapter extends Object
Envelope
to a Polygon
Modifier and Type | Method and Description |
---|---|
static void |
setGeometryFactory(org.locationtech.jts.geom.GeometryFactory gf) |
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. |
public static org.locationtech.jts.geom.Polygon toPolygon(org.locationtech.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(org.locationtech.jts.geom.GeometryFactory gf)
Copyright © 2001-2021 Red Hat, Inc. All Rights Reserved.