
public class VoronoiDraw extends Object
| Constructor and Description |
|---|
VoronoiDraw() |
| Modifier and Type | Method and Description |
|---|---|
static SVGPath |
drawDelaunay(Projection2D proj,
List<SweepHullDelaunay2D.Triangle> delaunay,
List<double[]> means)
Draw the Delaunay triangulation.
|
static SVGPath |
drawFakeVoronoi(Projection2D proj,
List<double[]> means)
Fake Voronoi diagram.
|
static SVGPath |
drawVoronoi(Projection2D proj,
List<SweepHullDelaunay2D.Triangle> delaunay,
List<double[]> means)
Draw a Voronoi diagram
|
public static SVGPath drawDelaunay(Projection2D proj, List<SweepHullDelaunay2D.Triangle> delaunay, List<double[]> means)
proj - Projectiondelaunay - Triangulationmeans - Meanspublic static SVGPath drawVoronoi(Projection2D proj, List<SweepHullDelaunay2D.Triangle> delaunay, List<double[]> means)
proj - Projectiondelaunay - Delaunay triangulationmeans - Cluster meanspublic static SVGPath drawFakeVoronoi(Projection2D proj, List<double[]> means)
proj - Projectionmeans - Mean vectors