public class EnvelopeUtil
extends java.lang.Object
Envelope
s.Constructor and Description |
---|
EnvelopeUtil() |
Modifier and Type | Method and Description |
---|---|
static com.vividsolutions.jts.geom.Envelope |
bufferByFraction(com.vividsolutions.jts.geom.Envelope originalEnvelope,
double extentFraction) |
static com.vividsolutions.jts.geom.Coordinate |
centre(com.vividsolutions.jts.geom.Envelope e) |
static com.vividsolutions.jts.geom.Envelope |
expand(com.vividsolutions.jts.geom.Envelope env,
double distance)
Expands an Envelope by a given distance.
|
static com.vividsolutions.jts.geom.Geometry |
toGeometry(com.vividsolutions.jts.geom.Envelope envelope) |
static void |
translate(com.vividsolutions.jts.geom.Envelope e,
com.vividsolutions.jts.geom.Coordinate displacement) |
public static com.vividsolutions.jts.geom.Envelope expand(com.vividsolutions.jts.geom.Envelope env, double distance)
public static void translate(com.vividsolutions.jts.geom.Envelope e, com.vividsolutions.jts.geom.Coordinate displacement)
public static com.vividsolutions.jts.geom.Envelope bufferByFraction(com.vividsolutions.jts.geom.Envelope originalEnvelope, double extentFraction)
originalEnvelope
- the original envelopeextentFraction
- the buffer distance expressed as a fraction of the
average envelope extentpublic static com.vividsolutions.jts.geom.Coordinate centre(com.vividsolutions.jts.geom.Envelope e)
public static com.vividsolutions.jts.geom.Geometry toGeometry(com.vividsolutions.jts.geom.Envelope envelope)