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

org.deegree.geometry.primitive
Interface Tin

All Superinterfaces:
GeometricPrimitive, Geometry, GMLObject, Surface, TriangulatedSurface
All Known Implementing Classes:
DefaultTin

public interface Tin
extends TriangulatedSurface

A TriangulatedSurface that uses the Delaunay algorithm or a similar algorithm complemented with consideration of breaklines, stoplines, and maximum length of triangle sides. These networks satisfy the Delaunay's criterion away from the modifications: For each triangle in the network, the circle passing through its vertices does not contain, in its interior, the vertex of any other triangle.

One can notice that the useful information provided for the Tin element is solely the trianglePatches, since the stopLines and breakLines (along with maxLength and ControlPoints) are only needed to obtain the triangulation. However, GML allows to specify both, so the interface provides access to them.

Version:
$Revision$
Author:
Markus Schneider, Andrei Ionita, last edited by: $Author$

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.deegree.geometry.primitive.Surface
Surface.SurfaceType
 
Nested classes/interfaces inherited from interface org.deegree.geometry.primitive.GeometricPrimitive
GeometricPrimitive.PrimitiveType
 
Nested classes/interfaces inherited from interface org.deegree.geometry.Geometry
Geometry.GeometryType
 
Method Summary
 List<List<LineStringSegment>> getBreakLines()
          Returns the break lines that must be respected by the triangulation.
 Points getControlPoints()
          Returns the control points (vertices) of the triangles.
 Measure getMaxLength(Unit uom)
          Returns the maximum length of all triangle side.
 List<List<LineStringSegment>> getStopLines()
          Returns the stop lines that must be respected by the triangulation.
 Surface.SurfaceType getSurfaceType()
          Must always return Surface.SurfaceType.Tin.
 
Methods inherited from interface org.deegree.geometry.primitive.TriangulatedSurface
getPatches
 
Methods inherited from interface org.deegree.geometry.primitive.Surface
getArea, getExteriorRingCoordinates, getInteriorRingsCoordinates, getPerimeter, getPrimitiveType
 
Methods inherited from interface org.deegree.geometry.primitive.GeometricPrimitive
getGeometryType
 
Methods inherited from interface org.deegree.geometry.Geometry
contains, crosses, equals, getBuffer, getCentroid, getConvexHull, getCoordinateDimension, getCoordinateSystem, getDifference, getDistance, getEnvelope, getId, getIntersection, getPrecision, getUnion, intersects, isBeyond, isDisjoint, isWithin, isWithinDistance, overlaps, setCoordinateSystem, setGMLProperties, setId, setPrecision, touches
 
Methods inherited from interface org.deegree.gml.GMLObject
getGMLProperties
 

Method Detail

getSurfaceType

Surface.SurfaceType getSurfaceType()
Must always return Surface.SurfaceType.Tin.

Specified by:
getSurfaceType in interface Surface
Specified by:
getSurfaceType in interface TriangulatedSurface
Returns:
Surface.SurfaceType.Tin

getStopLines

List<List<LineStringSegment>> getStopLines()
Returns the stop lines that must be respected by the triangulation.

Returns:
the stop lines

getBreakLines

List<List<LineStringSegment>> getBreakLines()
Returns the break lines that must be respected by the triangulation.

Returns:
the break lines

getMaxLength

Measure getMaxLength(Unit uom)
Returns the maximum length of all triangle side.

Parameters:
uom - units-of-measure that the length shall be expressed as, or null for units of the underlying coordinate system
Returns:
the length in the the requested uom

getControlPoints

Points getControlPoints()
Returns the control points (vertices) of the triangles.

Returns:
the control points

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

]]>