|
|||||||||||
| 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_CurveBoundary_Impl
default implementation of the GM_CurveBoundary interface from package jago.model.
------------------------------------------------------------
| Field Summary | |
private GM_Position |
ep
|
private static long |
serialVersionUID
Use serialVersionUID for interoperability. |
private GM_Position |
sp
|
| Fields inherited from class org.deegree_impl.model.geometry.GM_Object_Impl |
boundary, centroid, convexHull, crs, empty, envelope, mute, valid |
| Constructor Summary | |
GM_CurveBoundary_Impl(CS_CoordinateSystem crs,
GM_Position sp,
GM_Position ep)
constructor of curve_boundary with CS_CoordinateSystem and startpoint and endpoint |
|
| Method Summary | |
private void |
calculateEnvelope()
calculates the envelope of the curve boundary |
protected void |
calculateParam()
calculates the envelope of the curve boundary |
java.lang.Object |
clone()
returns a shallow copy of the geometry |
boolean |
equals(java.lang.Object other)
checks if this curve is completly equal to the submitted geometry |
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_Position |
getEndPoint()
returns the EndPoint of the boundary |
GM_Position |
getStartPoint()
returns the StartPoint of the boundary |
boolean |
intersects(GM_Object gmo)
The Boolean valued operation "intersects" shall return TRUE if this GM_Object intersects another GM_Object. |
private boolean |
intersectsMultiPrimitive(GM_MultiPrimitive mprim)
the operations returns true if the submitted multi primitive intersects with the curve segment |
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 |
contains, contains, difference, distance, getBoundary, 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 |
contains, contains, difference, distance, getBoundary, getBuffer, getCentroid, getConvexHull, getCoordinateSystem, getEnvelope, intersection, isEmpty, isWithinDistance, translate, union |
| Field Detail |
private static final long serialVersionUID
private GM_Position ep
private GM_Position sp
| Constructor Detail |
public GM_CurveBoundary_Impl(CS_CoordinateSystem crs,
GM_Position sp,
GM_Position ep)
throws GM_Exception
| Method Detail |
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 GM_Position getStartPoint()
getStartPoint in interface GM_CurveBoundarypublic GM_Position getEndPoint()
getEndPoint in interface GM_CurveBoundarypublic boolean equals(java.lang.Object other)
equals in class GM_Object_Implother - object to compare to
public boolean intersects(GM_Object gmo)
intersects in interface GM_Objectintersects in class GM_Object_Implgmo - the GM_Object to intersect with
private boolean intersectsMultiPrimitive(GM_MultiPrimitive mprim)
throws java.lang.Exception
java.lang.Exceptionprivate void calculateEnvelope()
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 | ||||||||||