# Why does not vtkUnstructuredGrid work with Delauney?

**URL:** <https://discourse.vtk.org/t/why-does-not-vtkunstructuredgrid-work-with-delauney/14217>\
**Category:** Development\
**Created:** [July 12, 2024, 12:23pm UTC](https://discourse.vtk.org/t/why-does-not-vtkunstructuredgrid-work-with-delauney/14217 "2024-07-12T12:23:09Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Northern\_Condor1](https://discourse.vtk.org/user_avatar/discourse.vtk.org/northern_condor1/32/9062_2.png) [@Northern\_Condor1](https://discourse.vtk.org/u/Northern_Condor1)\
**Post date:** [July 12, 2024, 12:23pm UTC](https://discourse.vtk.org/t/why-does-not-vtkunstructuredgrid-work-with-delauney/14217/1 "2024-07-12T12:23:09Z")

</div>

Hello dear VTK developers

Could you please clarify why

vtkUnstructuredGrid\* dataset = vtkUnstructuredGrid::SafeDownCast( delaunay-\>GetOutputDataObject(0) );

Does not work?

Thanks!

---

<div class="post-metadata">

**Author:** ![will.schroeder](https://discourse.vtk.org/user_avatar/discourse.vtk.org/will.schroeder/32/233_2.png) [@will.schroeder](https://discourse.vtk.org/u/will.schroeder)\
**Post date:** [July 13, 2024, 11:38am UTC](https://discourse.vtk.org/t/why-does-not-vtkunstructuredgrid-work-with-delauney/14217/2 "2024-07-13T11:38:45Z")

</div>

What type of Delaunay are you using? 2D or 3D? The 2D version produces vtkPolyData.
