deegree 2.2 (2008/12/22 11:33 build-3038-official)

org.opengis.pt
Class PT_Envelope

java.lang.Object
  extended by org.opengis.pt.PT_Envelope
All Implemented Interfaces:
Serializable, Cloneable

public class PT_Envelope
extends Object
implements Cloneable, Serializable

A box defined by two positions. The two positions must have the same dimension. Each of the ordinate values in the minimum point must be less than or equal to the corresponding ordinate value in the maximum point. Please note that these two points may be outside the valid domain of their coordinate system. (Of course the points and envelope do not explicitly reference a coordinate system, but their implicit coordinate system is defined by their context.)

Since:
1.00
Version:
1.01
Author:
Martin Daly, Martin Desruisseaux
See Also:
Serialized Form

Field Summary
 PT_CoordinatePoint maxCP
          Point containing maximum ordinate values.
 PT_CoordinatePoint minCP
          Point containing minimum ordinate values.
 
Constructor Summary
PT_Envelope()
          Construct an empty envelope.
 
Method Summary
 Object clone()
          Returns a deep copy of this envelope.
 boolean equals(Object object)
          Compares the specified object with this envelope for equality.
 int hashCode()
          Returns a hash value for this envelope.
 String toString()
          Returns a string representation of this envelope.
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

minCP

public PT_CoordinatePoint minCP
Point containing minimum ordinate values.


maxCP

public PT_CoordinatePoint maxCP
Point containing maximum ordinate values.

Constructor Detail

PT_Envelope

public PT_Envelope()
Construct an empty envelope. Caller must initialize minCP and maxCP.

Method Detail

hashCode

public int hashCode()
Returns a hash value for this envelope. This value need not remain consistent between different implementations of the same class.

Overrides:
hashCode in class Object

equals

public boolean equals(Object object)
Compares the specified object with this envelope for equality.

Overrides:
equals in class Object

clone

public Object clone()
Returns a deep copy of this envelope.

Overrides:
clone in class Object

toString

public String toString()
Returns a string representation of this envelope. The returned string is implementation dependent. It is usually provided for debugging purposes only.

Overrides:
toString in class Object

deegree 2.2 (2008/12/22 11:33 build-3038-official)

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