# How to interpolate a 2D point cloud from .vtp with obstacles (like cylinders)?

**URL:** https://discourse.paraview.org/t/how-to-interpolate-a-2d-point-cloud-from-vtp-with-obstacles-like-cylinders/11942
**Category:** ParaView Support
**Created:** [April 20, 2023, 10:53pm UTC](https://discourse.paraview.org/t/how-to-interpolate-a-2d-point-cloud-from-vtp-with-obstacles-like-cylinders/11942 "2023-04-20T22:53:38Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![Flatter](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/f/898d66/32.png) [@Flatter](https://discourse.paraview.org/u/Flatter)
#### Post date: [April 20, 2023, 10:53pm UTC](https://discourse.paraview.org/t/how-to-interpolate-a-2d-point-cloud-from-vtp-with-obstacles-like-cylinders/11942/1 "2023-04-20T22:53:38Z")

</div>

Hi there,

I’d like to interpolate the interior points of my domain that I receive after training a PINN. In my case, there is a flow around cylinders in 2D.

I’ve used the Delaunay2D filter on my interior points, but when using this filter the void caused by my obstacles gets interpolated as well. How can I fix this?

These images show the Delaunay2D Filter on the left side and the point cloud as well as the cylinders (from additional .vtp) on the right side.

 ![image](https://discourse.paraview.org/uploads/default/original/2X/1/1264d06b34a58e996c7c4475bd989d78d1671ac4.png)

Many thanks in advance.

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [May 2, 2023, 11:26am UTC](https://discourse.paraview.org/t/how-to-interpolate-a-2d-point-cloud-from-vtp-with-obstacles-like-cylinders/11942/2 "2023-05-02T11:26:26Z")

</div>

@Charles_Gueunet

---

<div class="post-metadata">

### Author: ![Charles\_Gueunet](https://discourse.paraview.org/user_avatar/discourse.paraview.org/charles_gueunet/32/40_2.png) [@Charles\_Gueunet](https://discourse.paraview.org/u/Charles_Gueunet)
#### Post date: [May 3, 2023, 7:19am UTC](https://discourse.paraview.org/t/how-to-interpolate-a-2d-point-cloud-from-vtp-with-obstacles-like-cylinders/11942/3 "2023-05-03T07:19:50Z")

</div>

@Flatter Do you have a mesh containing your obstacles ? If so, you may try to use boolean operation to remove them again on the resulting mesh.  
Otherwise, would it be possible for you to increase the resolution of your point cloud ? (to add more points into the valid area ?) If so, playing around with the `Alpha` parameter may prevent large edge to come across these empty space. Do not hesitate to tell me if I haven’t been clear.

---

<div class="post-metadata">

### Author: ![picpic](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/p/db5fbb/32.png) [@picpic](https://discourse.paraview.org/u/picpic)
#### Post date: [October 15, 2024, 1:12pm UTC](https://discourse.paraview.org/t/how-to-interpolate-a-2d-point-cloud-from-vtp-with-obstacles-like-cylinders/11942/4 "2024-10-15T13:12:33Z")

</div>

Any possible solutions? Since I only have point data, directly using the boolean operation may have influence on the interpolated result. Should I go back then recreate the mesh (previously I have mesh for the point data), and assign those points to the corresponding mesh?

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [October 21, 2024, 9:42am UTC](https://discourse.paraview.org/t/how-to-interpolate-a-2d-point-cloud-from-vtp-with-obstacles-like-cylinders/11942/5 "2024-10-21T09:42:39Z")

</div>

@picpic you may want to create your own topic and share your data in order to get help.

---

<div class="post-metadata">

### Author: ![picpic](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/p/db5fbb/32.png) [@picpic](https://discourse.paraview.org/u/picpic)
#### Post date: [October 24, 2024, 8:54am UTC](https://discourse.paraview.org/t/how-to-interpolate-a-2d-point-cloud-from-vtp-with-obstacles-like-cylinders/11942/7 "2024-10-24T08:54:20Z")

</div>

Thanks, I’ve create my topic in [Point set interpolation using python vtk package](https://discourse.paraview.org/t/point-set-interpolation-using-python-vtk-package/15625).
