Note
Go to the end to download the full example code.
Convex hull meshingΒΆ
import openturns as ot
import openturns.viewer as otv
import otmeshing
Generate a sample of Gaussian points

Compute the convex hull
mesher = otmeshing.ConvexHullMesher()
hull = mesher.build(points)
Plot convex hull
graph = hull.draw()
graph.add(cloud)
graph.setLegendPosition("upper left")
graph.setTitle("Convex hull of sample")
view = otv.View(graph)
otmeshing