|
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.DefaultTriangle
public class DefaultTriangle
Default implementation of Triangle
.
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 | |
---|---|
DefaultTriangle(LinearRing exterior)
Creates a new DefaultTriangle 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 three control points. |
Point |
getPoint2()
Returns the second of the three control points. |
Point |
getPoint3()
Returns the last of the three 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 DefaultTriangle(LinearRing exterior)
DefaultTriangle
instance from the given parameters.
exterior
- ring that contains exactly four planar points, the first and last point must be identicalMethod Detail |
---|
public LinearRing getExteriorRing()
Triangle
LinearRing
.
getExteriorRing
in interface PolygonPatch
getExteriorRing
in interface Triangle
public Point getPoint1()
Triangle
getPoint1
in interface Triangle
public Point getPoint2()
Triangle
getPoint2
in interface Triangle
public Point getPoint3()
Triangle
getPoint3
in interface Triangle
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 Triangle
public PolygonPatch.PolygonPatchType getPolygonPatchType()
getPolygonPatchType
in interface PolygonPatch
public SurfacePatch.SurfacePatchType getSurfacePatchType()
SurfacePatch
getSurfacePatchType
in interface SurfacePatch
|
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 |