|
deegree-core-3.0-pre-nightly (2010/03/05 00:01) - official | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.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. |
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 . |
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 identicalMethod Detail |
---|
public LinearRing getExteriorRing()
Rectangle
LinearRing
.
getExteriorRing
in interface PolygonPatch
getExteriorRing
in interface Rectangle
public Point getPoint1()
Rectangle
getPoint1
in interface Rectangle
public Point getPoint2()
Rectangle
getPoint2
in interface Rectangle
public Point getPoint3()
Rectangle
getPoint3
in interface Rectangle
public Point getPoint4()
Rectangle
getPoint4
in interface Rectangle
public Measure getArea(Unit requestedBaseUnit)
SurfacePatch
getArea
in interface SurfacePatch
public int getCoordinateDimension()
SurfacePatch
getCoordinateDimension
in interface SurfacePatch
public List<Ring> getInteriorRings()
PolygonPatch
getInteriorRings
in interface PolygonPatch
public List<LinearRing> getBoundaryRings()
PolygonPatch
getBoundaryRings
in interface PolygonPatch
getBoundaryRings
in interface Rectangle
public SurfacePatch.SurfacePatchType getSurfacePatchType()
SurfacePatch
getSurfacePatchType
in interface SurfacePatch
public PolygonPatch.PolygonPatchType getPolygonPatchType()
getPolygonPatchType
in interface PolygonPatch
|
deegree-core-3.0-pre-nightly (2010/03/05 00:01) - official | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |