Cloud meshingΒΆ

import openturns as ot
import openturns.viewer as otv
import otmeshing

Using the default triangulation

Plot mesh

graph = triangulation.draw()
graph.setLegendPosition("upper left")
graph.setTitle("Triangulation of sample")
view = otv.View(graph)
Triangulation of sample

Now using Delaunay triangulation

Plot mesh

graph = triangulation.draw()
graph.setLegendPosition("upper left")
graph.setTitle("Delaunay triangulation of sample")
view = otv.View(graph)
Delaunay triangulation of sample