Ejemplo n.º 1
0
    public void Draw()
    {
        points = delaunay.GeneratePoints(pointsCount, maxX, maxY, getn_type);

        //_______
        triangulation = delaunay.BowyerWatson(in points);

        //_______
        vornoiEdges = voronoi.GenerateEdgesFromDelaunay(in triangulation);

        DrawPoints(in points);
        DrawVorornoi(in vornoiEdges);
        DrawTriangulationDeloune(in triangulation);
    }