Tesselation
Meshes.tesselate — Function
tesselate(pointset, [method])Tesselate pointset with tesselation method.
If the method is ommitted, a default algorithm is used.
Meshes.TesselationMethod — Type
DiscretizationMethodA method for tesselating point sets into meshes.
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] (https://people.eecs.berkeley.edu/~jrs/meshbook.html)
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] (https://people.eecs.berkeley.edu/~jrs/meshbook.html)
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()