Delaunay.Voronoi.DelaunayTriangulation C# (CSharp) Method

DelaunayTriangulation() public method

public DelaunayTriangulation ( ) : List
return List
		public List<LineSegment> DelaunayTriangulation (/*BitmapData keepOutMask = null*/)
		{
			return DelaunayHelpers.DelaunayLinesForEdges (DelaunayHelpers.SelectNonIntersectingEdges (/*keepOutMask,*/_edges));
		}
		

Usage Example

 void RunDelaunay()
 {
     Delaunay.Voronoi voronoi = new Delaunay.Voronoi(delaunay_all_qbits_posXZ_weighted, colors, new Rect(0, 0, floorWidth, floorHeight));
     delaunayTriangulation = voronoi.DelaunayTriangulation();
     triangles             = voronoi.Triangles();
     convexHull            = voronoi.Hull();
 }
All Usage Examples Of Delaunay.Voronoi::DelaunayTriangulation