Tesselation
Meshes.tesselate
— Functiontesselate(pointset, [method])
Tesselate pointset
with tesselation method
.
If the method
is ommitted, a default algorithm is used.
Meshes.TesselationMethod
— TypeDiscretizationMethod
A method for tesselating point sets into meshes.
DelaunayTesselation
Meshes.DelaunayTesselation
— TypeDelaunayTesselation([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
— TypeVoronoiTesselation([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()