# vtkCutter no data at the boundary edge with current interpolation algorithm

**URL:** https://discourse.vtk.org/t/vtkcutter-no-data-at-the-boundary-edge-with-current-interpolation-algorithm/5413
**Category:** Support
**Created:** [March 20, 2021, 3:48am UTC](https://discourse.vtk.org/t/vtkcutter-no-data-at-the-boundary-edge-with-current-interpolation-algorithm/5413 "2021-03-20T03:48:38Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![aldis](https://discourse.vtk.org/user_avatar/discourse.vtk.org/aldis/32/2136_2.png) [@aldis](https://discourse.vtk.org/u/aldis)
#### Post date: [March 20, 2021, 3:48am UTC](https://discourse.vtk.org/t/vtkcutter-no-data-at-the-boundary-edge-with-current-interpolation-algorithm/5413/1 "2021-03-20T03:48:38Z")

</div>

Hello  
I have a CFD postprocessing task with \*.plt file as surface data source. After the surface data was imported via vtkTecplotReader, I tried to cut a slice at the symmetry boundary plane (Y=0 ) with “vtkCutter”. However, the slice turned to be empty with no point or cell data. Should I try another interpolation algorithm to get correct slice data at that boundary plane?

This is my code:  
:

> vtkNew\<vtkPlane\> plane;  
> plane-\>setOrigin(0,0,0);  
> plane-\>setNormal(0,1,0);  
> vtkNew\<vtkTecplotReader\> reader;  
> reader-\>setFileName(“xxx.plt”);  
> reader-\>Updata();  
> vtkNew\<vtkCutter\> cutter;  
> cutter-\>setCutFunction(plane);  
> cutter-\>Updata();

Thanks !  
Best Regards
