Documentation

Overview

    package plot contains functions to plot the Delaunay Triangulation and the Voronoi Diagram.

    Index

    Constants

    This section is empty.

    Variables

    This section is empty.

    Functions

    func Delaunay

    func Delaunay(path string, d *delaunay.Delaunay) error

      Delaunay plots the given delaunay triangulation and saves it to the given path.

      func Voronoi

      func Voronoi(path string, points []*delaunay.Point) error

        Voronoi plots the Voronoi diagram of the points and saves it to the given path.

        It will compute the delaunay triangulation first.

        Types

        This section is empty.