Package org.geotools.graph.util.delaunay
Class DelaunayTriangulator
- Object
-
- DelaunayTriangulator
-
public class DelaunayTriangulator extends Object
- Author:
- jfc173
-
-
Field Summary
Fields Modifier and Type Field Description DelaunayNodetemp1DelaunayNodetemp2DelaunayNodetemp3
-
Constructor Summary
Constructors Constructor Description DelaunayTriangulator()Creates a new instance of delaunayTriangulator
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DelaunayNode[]featuresToNodes(SimpleFeatureCollection fc)DelaunayNode[]getNodeArray()List<Triangle>getTriangles()GraphgetTriangulation()List<Triangle>insertNode(DelaunayNode newNode, List<Triangle> tList)voidsetFeatureCollection(SimpleFeatureCollection data)voidsetNodeArray(DelaunayNode[] nodeArray)GraphtriangleListToGraph(List<Triangle> tList)
-
-
-
Field Detail
-
temp1
public DelaunayNode temp1
-
temp2
public DelaunayNode temp2
-
temp3
public DelaunayNode temp3
-
-
Method Detail
-
setNodeArray
public void setNodeArray(DelaunayNode[] nodeArray)
-
getNodeArray
public DelaunayNode[] getNodeArray()
-
setFeatureCollection
public void setFeatureCollection(SimpleFeatureCollection data)
-
featuresToNodes
public DelaunayNode[] featuresToNodes(SimpleFeatureCollection fc)
-
getTriangulation
public Graph getTriangulation()
-
insertNode
public List<Triangle> insertNode(DelaunayNode newNode, List<Triangle> tList)
-
-