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: 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 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)


Copyright © 2011. All Rights Reserved.