Why does not vtkUnstructuredGrid work with Delauney?

Hello dear VTK developers

Could you please clarify why

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

Does not work?

Thanks!

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