|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.deegree_impl.model.geometry.GM_Envelope_Impl
a boundingbox as child of a GM_Polygon isn't part of the iso19107 spec but it simplifies the geometry handling within jago
------------------------------------------------------------
Field Summary | |
private GM_Position |
max
|
private GM_Position |
min
|
private static long |
serialVersionUID
Use serialVersionUID for interoperability. |
Constructor Summary | |
GM_Envelope_Impl()
Creates a new GM_Envelope_Impl object. |
|
GM_Envelope_Impl(GM_Position min,
GM_Position max)
Creates a new GM_Envelope_Impl object. |
Method Summary | |
java.lang.Object |
clone()
|
boolean |
contains(GM_Envelope bb)
returns true if all points of the submitted bounding box are within this bounding box |
boolean |
contains(GM_Position point)
returns true if the bounding box conatins the specified GM_Point |
GM_Envelope |
createIntersection(GM_Envelope bb)
returns a new GM_Envelope object representing the intersection of this GM_Envelope with the specified GM_Envelope. * Note: If there is no intersection at all GM_Envelope will be null. |
boolean |
equals(java.lang.Object other)
checks if this point is completly equal to the submitted geometry |
GM_Envelope |
getBuffer(double b)
creates a new envelope |
double |
getHeight()
returns the height of bounding box |
GM_Position |
getMax()
returns the maximum coordinates of bounding box |
GM_Position |
getMin()
returns the minimum coordinates of bounding box |
double |
getWidth()
returns the width of bounding box |
boolean |
intersects(GM_Envelope bb)
returns true if this envelope and the submitted intersects |
GM_Envelope |
merge(GM_Envelope envelope)
merges two GM_Envelops and returns the minimum envelope containing both. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
private static final long serialVersionUID
private GM_Position max
private GM_Position min
Constructor Detail |
public GM_Envelope_Impl()
public GM_Envelope_Impl(GM_Position min, GM_Position max)
min
- max
- Method Detail |
public java.lang.Object clone()
public GM_Position getMin()
getMin
in interface GM_Envelope
public GM_Position getMax()
getMax
in interface GM_Envelope
public double getWidth()
getWidth
in interface GM_Envelope
public double getHeight()
getHeight
in interface GM_Envelope
public boolean contains(GM_Position point)
contains
in interface GM_Envelope
public boolean intersects(GM_Envelope bb)
intersects
in interface GM_Envelope
public boolean contains(GM_Envelope bb)
contains
in interface GM_Envelope
public GM_Envelope createIntersection(GM_Envelope bb)
createIntersection
in interface GM_Envelope
bb
- the GM_Envelope to be intersected with this GM_Envelope
public boolean equals(java.lang.Object other)
public GM_Envelope getBuffer(double b)
GM_Envelope
getBuffer
in interface GM_Envelope
b
-
public GM_Envelope merge(GM_Envelope envelope)
GM_Envelope
merge
in interface GM_Envelope
GM_Envelope.merge(org.deegree.model.geometry.GM_Envelope)
public java.lang.String toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |