|
deegree 2.4 (2010/11/11 10:47 build-27-official) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.deegree.model.spatialschema.GeometryImpl
org.deegree.model.spatialschema.BoundaryImpl
org.deegree.model.spatialschema.PrimitiveBoundaryImpl
org.deegree.model.spatialschema.SurfaceBoundaryImpl
public class SurfaceBoundaryImpl
default implementation of the SurfaceBoundary interface. ------------------------------------------------------------
| Field Summary | |
|---|---|
Ring |
exterior
The exterior ring of the surface boundary |
Ring[] |
interior
The interior ring of the surface boundary |
| Fields inherited from class org.deegree.model.spatialschema.GeometryImpl |
|---|
boundary, centroid, convexHull, crs, empty, envelope, mute, valid |
| Fields inherited from interface org.deegree.model.spatialschema.Geometry |
|---|
BUFFER_CAP_BUTT, BUFFER_CAP_ROUND, BUFFER_CAP_SQUARE |
| Constructor Summary | |
|---|---|
protected |
SurfaceBoundaryImpl(Ring exterior,
Ring[] interior)
|
| Method Summary | |
|---|---|
protected void |
calculateParam()
recalculates internal parameters |
Object |
clone()
|
boolean |
contains(Geometry gmo)
The Boolean valued operation "contains" shall return TRUE if this Geometry contains another Geometry. |
boolean |
contains(Position position)
The Boolean valued operation "contains" shall return TRUE if this Geometry contains a single point given by a coordinate. |
boolean |
equals(Object other)
Compares the Geometry to be equal to another Geometry. |
Boundary |
getBoundary()
returns the boundary of the surface as general boundary |
int |
getCoordinateDimension()
The operation "coordinateDimension" shall return the dimension of the coordinates that define this Geometry, which must be the same as the coordinate dimension of the coordinate reference system for this Geometry. |
int |
getDimension()
The operation "dimension" shall return the inherent dimension of this Geometry, which shall be less than or equal to the coordinate dimension. |
Ring |
getExteriorRing()
get the exterior ring |
Ring[] |
getInteriorRings()
gets the interior ring(s) |
boolean |
intersects(Geometry gmo)
The Boolean valued operation "intersects" shall return TRUE if this Geometry intersects another Geometry. |
String |
toString()
|
| Methods inherited from class org.deegree.model.spatialschema.BoundaryImpl |
|---|
isCycle |
| Methods inherited from class org.deegree.model.spatialschema.GeometryImpl |
|---|
difference, distance, getBuffer, getBuffer, getCentroid, getConvexHull, getCoordinateSystem, getEnvelope, getTolerance, intersection, isEmpty, isValid, isWithinDistance, setCoordinateSystem, setEmpty, setTolerance, 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.spatialschema.Boundary |
|---|
isCycle |
| Methods inherited from interface org.deegree.model.spatialschema.Geometry |
|---|
difference, distance, getBuffer, getBuffer, getCentroid, getConvexHull, getCoordinateSystem, getEnvelope, getTolerance, intersection, isEmpty, isWithinDistance, setTolerance, translate, union |
| Field Detail |
|---|
public Ring exterior
public Ring[] interior
| Constructor Detail |
|---|
protected SurfaceBoundaryImpl(Ring exterior,
Ring[] interior)
exterior - interior - | Method Detail |
|---|
public Ring getExteriorRing()
SurfaceBoundary
getExteriorRing in interface SurfaceBoundarypublic Ring[] getInteriorRings()
SurfaceBoundary
getInteriorRings in interface SurfaceBoundarypublic Boundary getBoundary()
GeometryImpl
getBoundary in interface GeometrygetBoundary in class GeometryImplpublic boolean equals(Object other)
GeometryImpl
equals in class GeometryImplother - the Geometry to test for equality
public int getDimension()
getDimension in interface Geometrypublic int getCoordinateDimension()
getCoordinateDimension in interface Geometrypublic Object clone()
clone in class GeometryImplpublic boolean intersects(Geometry gmo)
GeometryImpl
intersects in interface Geometryintersects in class GeometryImplgmo - the Geometry to intersect with
public boolean contains(Geometry gmo)
GeometryImpl
contains in interface Geometrycontains in class GeometryImplgmo - the Geometry to test (whether is is contained)
public boolean contains(Position position)
dummy implementation
contains in interface Geometrycontains in class GeometryImplposition - Position to test (whether is is contained)
protected void calculateParam()
GeometryImpl
calculateParam in class GeometryImplpublic String toString()
toString in class GeometryImpl
|
deegree 2.4 (2010/11/11 10:47 build-27-official) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org