|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.deegree.geometry.standard.surfacepatches.DefaultRectangle
public class DefaultRectangle
Default implementation of Rectangle.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.deegree.geometry.primitive.patches.PolygonPatch |
|---|
PolygonPatch.PolygonPatchType |
| Nested classes/interfaces inherited from interface org.deegree.geometry.primitive.patches.SurfacePatch |
|---|
SurfacePatch.SurfacePatchType |
| Constructor Summary | |
|---|---|
DefaultRectangle(LinearRing exterior)
Creates a new DefaultRectangle instance from the given parameters. |
|
| Method Summary | |
|---|---|
Measure |
getArea(Unit requestedBaseUnit)
Returns the area covered by the patch. |
java.util.List<LinearRing> |
getBoundaryRings()
Returns the boundary rings (interior + exteriors) |
int |
getCoordinateDimension()
Returns the coordinate dimension, i.e. the dimension of the space that the patch is embedded in. |
LinearRing |
getExteriorRing()
Returns the sequence of control points as a LinearRing. |
java.util.List<Ring> |
getInteriorRings()
Returns the interior rings (holes) of the patch. |
Point |
getPoint1()
Returns the first of the four control points. |
Point |
getPoint2()
Returns the second of the four control points. |
Point |
getPoint3()
Returns the third of the four control points. |
Point |
getPoint4()
Returns the last of the four control points. |
PolygonPatch.PolygonPatchType |
getPolygonPatchType()
|
SurfacePatch.SurfacePatchType |
getSurfacePatchType()
Returns the type of surface patch. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultRectangle(LinearRing exterior)
DefaultRectangle instance from the given parameters.
exterior - ring that contains exactly five planar points, the first and last point must be identical| Method Detail |
|---|
public LinearRing getExteriorRing()
RectangleLinearRing.
getExteriorRing in interface PolygonPatchgetExteriorRing in interface Rectanglepublic Point getPoint1()
Rectangle
getPoint1 in interface Rectanglepublic Point getPoint2()
Rectangle
getPoint2 in interface Rectanglepublic Point getPoint3()
Rectangle
getPoint3 in interface Rectanglepublic Point getPoint4()
Rectangle
getPoint4 in interface Rectanglepublic Measure getArea(Unit requestedBaseUnit)
SurfacePatch
getArea in interface SurfacePatchpublic int getCoordinateDimension()
SurfacePatch
getCoordinateDimension in interface SurfacePatchpublic java.util.List<Ring> getInteriorRings()
PolygonPatch
getInteriorRings in interface PolygonPatchpublic java.util.List<LinearRing> getBoundaryRings()
PolygonPatch
getBoundaryRings in interface PolygonPatchgetBoundaryRings in interface Rectanglepublic SurfacePatch.SurfacePatchType getSurfacePatchType()
SurfacePatch
getSurfacePatchType in interface SurfacePatchpublic PolygonPatch.PolygonPatchType getPolygonPatchType()
getPolygonPatchType in interface PolygonPatch
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||