org.geotools.geometry.iso.coordinate
Class TinImpl

java.lang.Object
  extended by org.geotools.geometry.iso.root.GeometryImpl
      extended by org.geotools.geometry.iso.primitive.PrimitiveImpl
          extended by org.geotools.geometry.iso.primitive.OrientablePrimitiveImpl
              extended by org.geotools.geometry.iso.primitive.OrientableSurfaceImpl
                  extended by org.geotools.geometry.iso.primitive.SurfaceImpl
                      extended by org.geotools.geometry.iso.coordinate.PolyhedralSurfaceImpl
                          extended by org.geotools.geometry.iso.coordinate.TriangulatedSurfaceImpl
                              extended by org.geotools.geometry.iso.coordinate.TinImpl
All Implemented Interfaces:
java.io.Serializable, org.opengis.geometry.coordinate.GenericSurface, org.opengis.geometry.coordinate.PolyhedralSurface, org.opengis.geometry.coordinate.TriangulatedSurface, org.opengis.geometry.Geometry, org.opengis.geometry.primitive.OrientablePrimitive, org.opengis.geometry.primitive.OrientableSurface, org.opengis.geometry.primitive.Primitive, org.opengis.geometry.primitive.Surface, org.opengis.geometry.TransfiniteSet

public class TinImpl
extends TriangulatedSurfaceImpl

Author:
Jackson Roehrig & Sanjay Jena A GM_Tin (Figure 21) is a GM_TriangulatedSurface that uses the Delaunay algorithm or a similar algorithm complemented with consideration for breaklines, stoplines and maximum length of triangle sides (Figure 22). These networks satisfy the Delaunay criterion away from the modifications: For each triangle in the network, the circle passing through its vertexes does not contain, in its interior, the vertex of any other triangle.
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.geotools.geometry.iso.primitive.SurfaceImpl
patch
 
Fields inherited from class org.geotools.geometry.iso.primitive.OrientablePrimitiveImpl
proxy
 
Fields inherited from class org.geotools.geometry.iso.primitive.PrimitiveImpl
complex, containedPrimitive, containingPrimitive
 
Fields inherited from class org.geotools.geometry.iso.root.GeometryImpl
crs, percision
 
Constructor Summary
TinImpl(PositionImpl[] post, LineStringImpl[] stopLines, LineStringImpl[] breakLines, double maxLength)
           
TinImpl(SurfaceBoundaryImpl surfBdry, java.util.ArrayList<PositionImpl> post, java.util.ArrayList<LineStringImpl> stopLines, java.util.ArrayList<LineStringImpl> breakLines, double maxLength, java.util.ArrayList<TriangleImpl> triangles)
          This constructor delegates the mesh generation to different mesh generators.
 
Method Summary
 java.util.List<LineStringImpl> getBreakLines()
           
 double getMaxLength()
           
 java.util.List<PositionImpl> getPosts()
           
 java.util.List<LineStringImpl> getStopLines()
           
 java.util.List<TriangleImpl> getTriangles()
          Returns an Array of the surface patches as GM_TriangleĀ“s
 
Methods inherited from class org.geotools.geometry.iso.coordinate.TriangulatedSurfaceImpl
getPatches, setTriangles
 
Methods inherited from class org.geotools.geometry.iso.primitive.SurfaceImpl
clone, createProxy, equals, getArea, getBoundary, getBoundaryRings, getComposite, getDimension, getEnvelope, getPerimeter, getPrimitive, getProxy, getRepresentativePoint, getUpNormal, hashCode, isSimple, setBoundary, setPatches, toString, transform
 
Methods inherited from class org.geotools.geometry.iso.primitive.OrientablePrimitiveImpl
getOrientation
 
Methods inherited from class org.geotools.geometry.iso.primitive.PrimitiveImpl
addComplex, addContainedPrimitive, addContainingPrimitive, getComplexes, getContainedPrimitives, getContainingPrimitives, getMaximalComplex
 
Methods inherited from class org.geotools.geometry.iso.root.GeometryImpl
castToGeometryImpl, castToGeometryImpl, contains, contains, cRelate, crosses, difference, disjoint, distance, equals, getBuffer, getCentroid, getClosure, getConvexHull, getCoordinateDimension, getCoordinateReferenceSystem, getDistance, getMbRegion, getPositionFactory, getPrecision, intersection, intersects, isCycle, isMutable, overlaps, relate, symmetricDifference, toImmutable, touches, transform, union, within
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.opengis.geometry.primitive.Surface
getProxy
 
Methods inherited from interface org.opengis.geometry.primitive.OrientableSurface
getBoundary, getComposite, getPrimitive
 
Methods inherited from interface org.opengis.geometry.primitive.OrientablePrimitive
getOrientation
 
Methods inherited from interface org.opengis.geometry.primitive.Primitive
getComplexes, getContainedPrimitives, getContainingPrimitives
 
Methods inherited from interface org.opengis.geometry.Geometry
clone, distance, getBuffer, getCentroid, getClosure, getConvexHull, getCoordinateDimension, getCoordinateReferenceSystem, getDimension, getEnvelope, getMaximalComplex, getMbRegion, getPrecision, getRepresentativePoint, isCycle, isMutable, isSimple, toImmutable, transform, transform
 
Methods inherited from interface org.opengis.geometry.TransfiniteSet
contains, contains, difference, equals, intersection, intersects, symmetricDifference, union
 
Methods inherited from interface org.opengis.geometry.coordinate.GenericSurface
getArea, getPerimeter, getUpNormal
 

Constructor Detail

TinImpl

public TinImpl(SurfaceBoundaryImpl surfBdry,
               java.util.ArrayList<PositionImpl> post,
               java.util.ArrayList<LineStringImpl> stopLines,
               java.util.ArrayList<LineStringImpl> breakLines,
               double maxLength,
               java.util.ArrayList<TriangleImpl> triangles)
This constructor delegates the mesh generation to different mesh generators. GM_Factory transforms the results of the mesh generation into input parameters

Parameters:
factory -
surfBdry -
post -
stopLines -
breakLines -
maxLength -
triangles -

TinImpl

public TinImpl(PositionImpl[] post,
               LineStringImpl[] stopLines,
               LineStringImpl[] breakLines,
               double maxLength)
Parameters:
factory -
post -
stopLines -
breakLines -
maxLength -
Method Detail

getStopLines

public java.util.List<LineStringImpl> getStopLines()
Returns:
List

getBreakLines

public java.util.List<LineStringImpl> getBreakLines()
Returns:
List

getMaxLength

public double getMaxLength()
Returns:
max length

getTriangles

public java.util.List<TriangleImpl> getTriangles()
Returns an Array of the surface patches as GM_Triangle“s

Returns:
ArrayList

getPosts

public java.util.List<PositionImpl> getPosts()
Returns:
List


Copyright © 1996-2010 Geotools. All Rights Reserved.