deegree-core-3.0-pre-nightly (2010/03/05 00:01) - official

org.deegree.geometry
Interface Envelope

All Superinterfaces:
Geometry, GMLObject
All Known Implementing Classes:
DefaultEnvelope

public interface Envelope
extends Geometry

Axis-parallel bounding box.

Author:
Andreas Poth, Markus Schneider, last edited by: $Author: mschneider $

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.deegree.geometry.Geometry
Geometry.GeometryType
 
Method Summary
 Geometry.GeometryType getGeometryType()
          Must always return Geometry.GeometryType.ENVELOPE.
 Point getMax()
          Returns the envelope's maximum coordinate
 Point getMin()
          Returns the envelope's minimum coordinate.
 double getSpan(int dim)
          Returns the envelope's span of the second dimension (in units of the associated coordinate system).
 double getSpan0()
          Returns the envelope's span of the first dimension (in units of the associated coordinate system).
 double getSpan1()
          Returns the envelope's span of the second dimension (in units of the associated coordinate system).
 Envelope merge(Envelope other)
          Merges this envelope with another envelope into a new one.
 
Methods inherited from interface org.deegree.geometry.Geometry
contains, crosses, equals, getBuffer, getCentroid, getConvexHull, getCoordinateDimension, getCoordinateSystem, getDifference, getDistance, getEnvelope, getId, getIntersection, getPrecision, getUnion, intersects, isBeyond, isDisjoint, isWithin, isWithinDistance, overlaps, setCoordinateSystem, setGMLProperties, setId, setPrecision, touches
 
Methods inherited from interface org.deegree.gml.GMLObject
getGMLProperties
 

Method Detail

getGeometryType

Geometry.GeometryType getGeometryType()
Must always return Geometry.GeometryType.ENVELOPE.

Specified by:
getGeometryType in interface Geometry
Returns:
Geometry.GeometryType.ENVELOPE.

getMin

Point getMin()
Returns the envelope's minimum coordinate.

Returns:
minimum coordinate

getMax

Point getMax()
Returns the envelope's maximum coordinate

Returns:
maximum coordinate

merge

Envelope merge(Envelope other)
Merges this envelope with another envelope into a new one.

Parameters:
other -
Returns:
merged envelope

getSpan0

double getSpan0()
Returns the envelope's span of the first dimension (in units of the associated coordinate system).

Returns:
span of the first dimension

getSpan1

double getSpan1()
Returns the envelope's span of the second dimension (in units of the associated coordinate system).

Returns:
span of the second dimension

getSpan

double getSpan(int dim)
Returns the envelope's span of the second dimension (in units of the associated coordinate system).

Parameters:
dim - index of the span to be returned
Returns:
span of the specified dimension

deegree-core-3.0-pre-nightly (2010/03/05 00:01) - official

an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org

]]>