Delaunay

class Delaunay(val points: DoubleArray)(source)

Use from static method to use the delaunay triangulation

Since

9258fa3 - commit

Author

Ricardo Matias

Constructors

Link copied to clipboard
constructor(points: DoubleArray)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

flat positions' array - x0, y0, x1, y1..

Link copied to clipboard

Functions

Link copied to clipboard
Link copied to clipboard
fun find(x: Double, y: Double, i: Int = 0): Int
Link copied to clipboard
fun init()
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun step(i: Int, x: Double, y: Double): Int
Link copied to clipboard
fun update()
Link copied to clipboard
fun voronoi(bounds: Rectangle): Voronoi

Generates a Voronoi diagram based on the current Delaunay triangulation and the provided bounds.