# Delaunay triangulation in best fit plane

**URL:** <https://discourse.julialang.org/t/delaunay-triangulation-in-best-fit-plane/63792>\
**Category:** Visualization\
**Tags:** package, geometry\
**Created:** [June 30, 2021, 2:42am UTC](https://discourse.julialang.org/t/delaunay-triangulation-in-best-fit-plane/63792 "2021-06-30T02:42:07Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![sparrowhawk](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/sparrowhawk/32/9148_2.png) [@sparrowhawk](https://discourse.julialang.org/u/sparrowhawk)\
**Post date:** [June 30, 2021, 2:42am UTC](https://discourse.julialang.org/t/delaunay-triangulation-in-best-fit-plane/63792/1 "2021-06-30T02:42:07Z")

</div>

Hi I have a set of points scattered in 3D x,y, z, with an associated scalar property f. But these points are very nearly planar, and I want the triangulation of f in a “best fit” plane, which I can then import as a VTK file into ParaView using [WriteVTK](https://github.com/jipolanco/WriteVTK.jl) for viewing. Does anyone know of a Julia package / have examples on how to do this?
