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$
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 |
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
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org]]>