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 DelaunayNode
temp1
DelaunayNode
temp2
DelaunayNode
temp3
-
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()
Graph
getTriangulation()
List<Triangle>
insertNode(DelaunayNode newNode, List<Triangle> tList)
void
setFeatureCollection(SimpleFeatureCollection data)
void
setNodeArray(DelaunayNode[] nodeArray)
Graph
triangleListToGraph(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)
-
-