# Removing polygons based on edge length after running Delaunay2D

**URL:** https://discourse.vtk.org/t/removing-polygons-based-on-edge-length-after-running-delaunay2d/3701
**Category:** Support
**Created:** [July 3, 2020, 9:59am UTC](https://discourse.vtk.org/t/removing-polygons-based-on-edge-length-after-running-delaunay2d/3701 "2020-07-03T09:59:05Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![lassoan](https://discourse.vtk.org/user_avatar/discourse.vtk.org/lassoan/32/50_2.png) [@lassoan](https://discourse.vtk.org/u/lassoan)
#### Post date: [July 3, 2020, 2:52pm UTC](https://discourse.vtk.org/t/removing-polygons-based-on-edge-length-after-running-delaunay2d/3701/2 "2020-07-03T14:52:12Z")

</div>

If your goal is to reconstruct a surface from a point cloud then I would recommend to use VTK’s surface reconstruction filters. See this post for more information:

> [@How to triangulate a surface from point cloud](https://discourse.vtk.org/t/how-to-triangulate-a-surface-from-point-cloud/2240/5):
>
> There are a couple of more, see for example: [https://lorensen.github.io/VTKExamples/site/Cxx/Points/ExtractSurface/](https://lorensen.github.io/VTKExamples/site/Cxx/Points/ExtractSurface/)[https://lorensen.github.io/VTKExamples/site/Cxx/Points/PoissonExtractSurface/](https://lorensen.github.io/VTKExamples/site/Cxx/Points/PoissonExtractSurface/)[https://lorensen.github.io/VTKExamples/site/Cxx/Points/PowercrustExtractSurface/](https://lorensen.github.io/VTKExamples/site/Cxx/Points/PowercrustExtractSurface/)[https://lorensen.github.io/VTKExamples/site/Cxx/Points/ExtractSurfaceDemo/](https://lorensen.github.io/VTKExamples/site/Cxx/Points/ExtractSurfaceDemo/) You may use [vtkDepthImageToPointCloud](https://vtk.org/doc/nightly/html/classvtkDepthImageToPointCloud.html) filter to create point cloud from your depth image. They work as expected. You just have to be careful no…

---

_[View the full topic](https://discourse.vtk.org/t/removing-polygons-based-on-edge-length-after-running-delaunay2d/3701)._
