Tesselation

Meshes.tesselateFunction
tesselate(pointset, [method])

Tesselate pointset with tesselation method.

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

source

DelaunayTesselation

Meshes.DelaunayTesselationType
DelaunayTesselation([rng])

Unconstrained Delaunay tesselation of point sets. Optionally, specify the random number generator rng.

References

  • Cheng et al. 2012. [Delaunay Mesh Generation] (https://people.eecs.berkeley.edu/~jrs/meshbook.html)

Notes

Wraps DelaunayTriangulation.jl. For any internal errors, file an issue at DelaunayTriangulation.jl

source
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

Meshes.VoronoiTesselationType
VoronoiTesselation([rng])

Unconstrained Voronoi tesselation of point sets. Optionally, specify the random number generator rng.

References

  • Cheng et al. 2012. [Delaunay Mesh Generation] (https://people.eecs.berkeley.edu/~jrs/meshbook.html)

Notes

Wraps DelaunayTriangulation.jl. For any internal errors, file an issue at DelaunayTriangulation.jl

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

mesh = tesselate(points, VoronoiTesselation())

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