org.deegree.geometry.primitive.patches
Interface Rectangle

All Superinterfaces:
PolygonPatch, SurfacePatch
All Known Implementing Classes:
DefaultRectangle

public interface Rectangle
extends PolygonPatch

A Rectangle is a PolygonPatch defined by four planar points.

Version:
$Revision: 31641 $, $Date: 2011-08-24 21:24:55 +0200 (Wed, 24 Aug 2011) $
Author:
Markus Schneider , last edited by: $Author: mschneider $

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
 
Method Summary
 List<LinearRing> getBoundaryRings()
          Returns the boundary rings (interior + exteriors)
 LinearRing getExteriorRing()
          Returns the sequence of control points as a LinearRing.
 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.
 
Methods inherited from interface org.deegree.geometry.primitive.patches.PolygonPatch
getInteriorRings, getPolygonPatchType
 
Methods inherited from interface org.deegree.geometry.primitive.patches.SurfacePatch
getArea, getCoordinateDimension, getSurfacePatchType
 

Method Detail

getPoint1

Point getPoint1()
Returns the first of the four control points.

Returns:
the first control point

getPoint2

Point getPoint2()
Returns the second of the four control points.

Returns:
the second control point

getPoint3

Point getPoint3()
Returns the third of the four control points.

Returns:
the third control point

getPoint4

Point getPoint4()
Returns the last of the four control points.

Returns:
the last control point

getExteriorRing

LinearRing getExteriorRing()
Returns the sequence of control points as a LinearRing.

Specified by:
getExteriorRing in interface PolygonPatch
Returns:
the exterior ring

getBoundaryRings

List<LinearRing> getBoundaryRings()
Description copied from interface: PolygonPatch
Returns the boundary rings (interior + exteriors)

Specified by:
getBoundaryRings in interface PolygonPatch
Returns:
the boundary rings, list may be empty (but not null)


Copyright © 2011. All Rights Reserved.