Tesselation
DelaunayTesselation
#
Meshes.DelaunayTesselation
— Type
DelaunayTesselation([rng])
Unconstrained Delaunay tesselation of point sets. Optionally, specify the random number generator rng
.
References
-
Cheng et al. 2012. Delaunay Mesh Generation
Notes
Wraps DelaunayTriangulation.jl. For any internal errors, file an issue at DelaunayTriangulation.jl
points = rand(Point, 100, crs=Cartesian2D)
mesh = tesselate(points, DelaunayTesselation())
viz(mesh, showsegments = true)
viz!(points, color = :red)
Mke.current_figure()
VoronoiTesselation
#
Meshes.VoronoiTesselation
— Type
VoronoiTesselation([rng])
Unconstrained Voronoi tesselation of point sets. Optionally, specify the random number generator rng
.
References
-
Cheng et al. 2012. Delaunay Mesh Generation
Notes
Wraps DelaunayTriangulation.jl. For any internal errors, file an issue at DelaunayTriangulation.jl
points = rand(Point, 100, crs=Cartesian2D)
mesh = tesselate(points, VoronoiTesselation())
viz(mesh, showsegments = true)
viz!(points, color = :red)
Mke.current_figure()