# There is a question about vtk BooleanOperation PolyDataFilter

**URL:** https://discourse.vtk.org/t/there-is-a-question-about-vtk-booleanoperation-polydatafilter/9333
**Category:** Support
**Created:** [September 13, 2022, 2:11am UTC](https://discourse.vtk.org/t/there-is-a-question-about-vtk-booleanoperation-polydatafilter/9333 "2022-09-13T02:11:47Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Dwight98](https://discourse.vtk.org/user_avatar/discourse.vtk.org/dwight98/32/5373_2.png) [@Dwight98](https://discourse.vtk.org/u/Dwight98)
#### Post date: [September 13, 2022, 2:11am UTC](https://discourse.vtk.org/t/there-is-a-question-about-vtk-booleanoperation-polydatafilter/9333/1 "2022-09-13T02:11:47Z")

</div>

I have a strange problem with vtk for Boolean arithmetic，When i use the intersection operation, the result I get is as shown in the following figure

 ![ins](https://discourse.vtk.org/uploads/default/original/2X/d/db3fa783b60eb53c6cc1d3662d05326b8aa9a01d.png)  
when i use the union operation,the result i get is as shown in the following figure  
 ![uni](https://discourse.vtk.org/uploads/default/original/2X/1/184c72b658319d966440a55e88c4e1ce713a15ed.png)  
Compare the results in the two images above, It’s like getting the exact opposite result。  
Why is this happening?Sincerely hope that seniors can answer my question!My biggest thanks！

---

<div class="post-metadata">

### Author: ![ljx006barbatos](https://discourse.vtk.org/user_avatar/discourse.vtk.org/ljx006barbatos/32/7015_2.png) [@ljx006barbatos](https://discourse.vtk.org/u/ljx006barbatos)
#### Post date: [May 2, 2023, 11:30am UTC](https://discourse.vtk.org/t/there-is-a-question-about-vtk-booleanoperation-polydatafilter/9333/2 "2023-05-02T11:30:53Z")

</div>

I met exactly the same problem.  
Have u found a solution?

---

<div class="post-metadata">

### Author: ![Jishnu](https://discourse.vtk.org/user_avatar/discourse.vtk.org/jishnu/32/6221_2.png) [@Jishnu](https://discourse.vtk.org/u/Jishnu)
#### Post date: [May 4, 2023, 12:39pm UTC](https://discourse.vtk.org/t/there-is-a-question-about-vtk-booleanoperation-polydatafilter/9333/3 "2023-05-04T12:39:31Z")

</div>

Without providing code, it is difficult to answer what is happening.
