plot

package
v0.28.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 24, 2021 License: BSD-3-Clause Imports: 5 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL