| |
|
| java.lang.Object org.geotools.referencing.operation.builder.TriangulationFactory
TriangulationFactory | class TriangulationFactory (Code) | | Generates TIN with respect to delaunay criterion. It
means that there are no alien vertices in the circumcircle of each
triangle. The algorithm that is used is also known as incremental insertion.
since: 2.4 version: $Id: TriangulationFactory.java 28966 2008-01-27 17:36:43Z acuster $ author: Jan Jezek |
Method Summary | |
public List | getTriangulation() | public void | insertPoint(DirectPosition newVertex) Accommodate new vertex into the existing triangles. | protected List | insertTriangles(List trian) Decides whether to insert triangle directly or go throught
delaunay test. | protected void | recursiveDelaunayTest(List ChangedTriangles) This is the test loop, that starts to tests of triangles until
the result of insertation of triangle evokes changes in TIN. |
TriangulationFactory | protected TriangulationFactory(Quadrilateral quad, DirectPosition[] pt) throws TriangulationException(Code) | | Constructs the TriangulationFactory.
Parameters: quad - of location to be triangulated. Parameters: pt - Array of points for triangulation. throws: TriangulationException - when the vertices are outside of the specified quad. |
getTriangulation | public List getTriangulation()(Code) | | Set a List of points for triangulation
TIN as list of triangles. |
insertPoint | public void insertPoint(DirectPosition newVertex) throws TriangulationException(Code) | | Accommodate new vertex into the existing triangles.
Parameters: newVertex - new vertex throws: TriangulationException - when newVertex is outside triangles |
insertTriangles | protected List insertTriangles(List trian) throws TriangulationException(Code) | | Decides whether to insert triangle directly or go throught
delaunay test.
Parameters: trian - if triangles to be inserted List of changed triangles throws: TriangulationException - TriangulationException |
recursiveDelaunayTest | protected void recursiveDelaunayTest(List ChangedTriangles) throws TriangulationException(Code) | | This is the test loop, that starts to tests of triangles until
the result of insertation of triangle evokes changes in TIN.
Parameters: ChangedTriangles - List of changed triangles throws: TriangulationException - TriangulationException |
|
|
|