| java.lang.Object com.vividsolutions.jump.geom.EnvelopeUtil
EnvelopeUtil | public class EnvelopeUtil (Code) | | Utility functions for
Envelope s.
|
Method Summary | |
public static Envelope | bufferByFraction(Envelope originalEnvelope, double extentFraction) | public static Coordinate | centre(Envelope e) | public static Envelope | expand(Envelope env, double distance) Expands an Envelope by a given distance. | public static Geometry | toGeometry(Envelope envelope) | public static void | translate(Envelope e, Coordinate displacement) |
bufferByFraction | public static Envelope bufferByFraction(Envelope originalEnvelope, double extentFraction)(Code) | | Parameters: originalEnvelope - the original envelope Parameters: extentFraction - the buffer distance expressed as a fraction of theaverage envelope extent |
centre | public static Coordinate centre(Envelope e)(Code) | | |
expand | public static Envelope expand(Envelope env, double distance)(Code) | | Expands an Envelope by a given distance.
Both positive and negative distances are handled.
|
toGeometry | public static Geometry toGeometry(Envelope envelope)(Code) | | |
translate | public static void translate(Envelope e, Coordinate displacement)(Code) | | |
|
|