Tesselation

Meshes.tesselateFunction
tesselate(pointset, [method])

Tesselate pointset with tesselation method.

If the method is ommitted, a default algorithm is used.

source

DelaunayTesselation

points = rand(Point, 100, crs=Cartesian2D)

mesh = tesselate(points, DelaunayTesselation())

viz(mesh, showsegments = true)
viz!(points, color = :red)
Mke.current_figure()
Example block output

VoronoiTesselation

points = rand(Point, 100, crs=Cartesian2D)

mesh = tesselate(points, VoronoiTesselation())

viz(mesh, showsegments = true)
viz!(points, color = :red)
Mke.current_figure()
Example block output