| |
|
| java.lang.Object org.deegree.model.spatialschema.EnvelopeImpl
All known Subclasses: org.deegree.ogcwebservices.wms.capabilities.LayerBoundingBox,
EnvelopeImpl | public class EnvelopeImpl implements Envelope,Serializable(Code) | | a boundingbox as child of a Polygon isn't part of the iso19107 spec but it simplifies the
geometry handling
------------------------------------------------------------
author: Andreas Poth href="mailto:poth@lat-lon.de" author: Markus Bedel href="mailto:bedel@giub.uni-bonn.de" version: $Id: EnvelopeImpl.java 9343 2007-12-27 13:30:32Z apoth $ |
EnvelopeImpl | protected EnvelopeImpl()(Code) | | Creates a new EnvelopeImpl object.
|
EnvelopeImpl | protected EnvelopeImpl(Position min, Position max)(Code) | | Creates a new EnvelopeImpl object.
Parameters: min - Parameters: max - |
clone | public Object clone()(Code) | | a shallow copy of this Envelope |
contains | public boolean contains(Position point)(Code) | | returns true if the bounding box conatins the specified Point
|
contains | public boolean contains(Envelope bb)(Code) | | returns true if all points of the submitted bounding box are within this bounding box
|
createIntersection | public Envelope createIntersection(Envelope bb)(Code) | | returns a new Envelope object representing the intersection of this Envelope with the
specified Envelope. * Note: If there is no intersection at all Envelope will be null.
Parameters: bb - the Envelope to be intersected with this Envelope the largest Envelope contained in both the specified Envelope and in this Envelope. |
equals | public boolean equals(Object other)(Code) | | checks if this point is completly equal to the submitted geometry
|
expandToContain | public void expandToContain(Envelope other)(Code) | | ensures that the passed Envepole is contained within this.Envelope
Parameters: other - |
getCentroid | public Point getCentroid()(Code) | | returns the centroid of an Envelope
centroid of an Envelope |
getCoordinateSystem | public CoordinateSystem getCoordinateSystem()(Code) | | returns the spatial reference system of a geometry
|
getHeight | public double getHeight()(Code) | | returns the height of bounding box
|
getMax | public Position getMax()(Code) | | returns the maximum coordinates of bounding box
|
getMin | public Position getMin()(Code) | | returns the minimum coordinates of bounding box
|
getWidth | public double getWidth()(Code) | | returns the width of bounding box
|
intersects | public boolean intersects(Envelope bb)(Code) | | returns true if this envelope and the submitted intersects
|
translate | public Envelope translate(double x, double y)(Code) | | translate a envelope in the direction defined by the two passed values and retiurns the
resulting envelope
Parameters: x - Parameters: y - |
|
|
|