|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.deegree_impl.model.geometry.GM_Object_Impl
org.deegree_impl.model.geometry.GM_Boundary_Impl
org.deegree_impl.model.geometry.GM_PrimitiveBoundary_Impl
org.deegree_impl.model.geometry.GM_SurfaceBoundary_Impl
default implementation of the GM_SurfaceBoundary interface. ------------------------------------------------------------
| Field Summary | |
GM_Ring |
exterior
|
GM_Ring[] |
interior
|
private static long |
serialVersionUID
Use serialVersionUID for interoperability. |
| Fields inherited from class org.deegree_impl.model.geometry.GM_Object_Impl |
boundary, centroid, convexHull, crs, empty, envelope, mute, valid |
| Constructor Summary | |
GM_SurfaceBoundary_Impl(GM_Ring exterior,
GM_Ring[] interior)
constructor |
|
| Method Summary | |
private void |
calculateCentroid()
calculates the centroid of the surface boundary |
private void |
calculateEnvelope()
calculates the envelope of the surface boundary |
protected void |
calculateParam()
calculates the centroid and the envelope of the surface boundary |
java.lang.Object |
clone()
returns a copy of the geometry |
boolean |
contains(GM_Object gmo)
The Boolean valued operation "contains" shall return TRUE if this GM_Object contains another GM_Object. |
boolean |
contains(GM_Position position)
The Boolean valued operation "contains" shall return TRUE if this GM_Object contains a single point given by a coordinate. |
boolean |
equals(java.lang.Object other)
checks if this curve is completly equal to the submitted geometry |
GM_Boundary |
getBoundary()
returns the boundary of the boundary |
int |
getCoordinateDimension()
The operation "coordinateDimension" shall return the dimension of the coordinates that define this GM_Object, which must be the same as the coordinate dimension of the coordinate reference system for this GM_Object. |
int |
getDimension()
The operation "dimension" shall return the inherent dimension of this GM_Object, which shall be less than or equal to the coordinate dimension. |
GM_Ring |
getExteriorRing()
gets the exterior ring |
GM_Ring[] |
getInteriorRings()
gets the interior ring(s) |
boolean |
intersects(GM_Object gmo)
The Boolean valued operation "intersects" shall return TRUE if this GM_Object intersects another GM_Object. |
boolean |
isCycle()
A geometric object, which has no boundary is a cycle. |
java.lang.String |
toString()
|
| Methods inherited from class org.deegree_impl.model.geometry.GM_Object_Impl |
difference, distance, getBuffer, getCentroid, getConvexHull, getCoordinateSystem, getEnvelope, intersection, isEmpty, isValid, isWithinDistance, setCoordinateSystem, setEmpty, setValid, translate, union |
| Methods inherited from class java.lang.Object |
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.deegree.model.geometry.GM_Boundary |
isCycle |
| Methods inherited from interface org.deegree.model.geometry.GM_Object |
difference, distance, getBuffer, getCentroid, getConvexHull, getCoordinateSystem, getEnvelope, intersection, isEmpty, isWithinDistance, translate, union |
| Field Detail |
private static final long serialVersionUID
public GM_Ring exterior
public GM_Ring[] interior
| Constructor Detail |
public GM_SurfaceBoundary_Impl(GM_Ring exterior,
GM_Ring[] interior)
throws GM_Exception
| Method Detail |
public GM_Ring getExteriorRing()
getExteriorRing in interface GM_SurfaceBoundarypublic GM_Ring[] getInteriorRings()
getInteriorRings in interface GM_SurfaceBoundarypublic GM_Boundary getBoundary()
getBoundary in interface GM_ObjectgetBoundary in class GM_Object_Implpublic boolean equals(java.lang.Object other)
equals in class GM_Object_Implother - object to compare to
public int getDimension()
getDimension in interface GM_Objectpublic int getCoordinateDimension()
getCoordinateDimension in interface GM_Objectpublic java.lang.Object clone()
clone in class GM_Object_Implpublic boolean intersects(GM_Object gmo)
intersects in interface GM_Objectintersects in class GM_Object_Implgmo - the GM_Object to intersect with
public boolean contains(GM_Object gmo)
contains in interface GM_Objectcontains in class GM_Object_Implgmo - the GM_Object to test (whether is is contained)
public boolean contains(GM_Position position)
contains in interface GM_Objectcontains in class GM_Object_Implposition - GM_Position to test (whether is is contained)
private void calculateEnvelope()
private void calculateCentroid()
protected void calculateParam()
calculateParam in class GM_Object_Implpublic java.lang.String toString()
toString in class GM_Object_Implpublic boolean isCycle()
isCycle in interface GM_Boundary
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||