deegree-core-3.0-pre-nightly (2010/03/05 00:01) - official

org.deegree.geometry.primitive.patches
Interface Triangle

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

public interface Triangle
extends PolygonPatch

A Triangle is a SurfacePatch defined by three planar points.

Version:
$Revision:$, $Date:$
Author:
Markus Schneider , last edited by: $Author:$

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 three control points.
 Point getPoint2()
          Returns the second of the three control points.
 Point getPoint3()
          Returns the last of the three 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 three control points.

Returns:
the first control point

getPoint2

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

Returns:
the second control point

getPoint3

Point getPoint3()
Returns the last of the three control points.

Returns:
the third 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)

deegree-core-3.0-pre-nightly (2010/03/05 00:01) - official

an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org

]]>