# How to decimate a vtkPoints ?

**URL:** https://discourse.vtk.org/t/how-to-decimate-a-vtkpoints/7310
**Category:** Support
**Created:** [December 2, 2021, 9:08am UTC](https://discourse.vtk.org/t/how-to-decimate-a-vtkpoints/7310 "2021-12-02T09:08:16Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Julienchz](https://discourse.vtk.org/user_avatar/discourse.vtk.org/julienchz/32/4106_2.png) [@Julienchz](https://discourse.vtk.org/u/Julienchz)
#### Post date: [December 2, 2021, 9:08am UTC](https://discourse.vtk.org/t/how-to-decimate-a-vtkpoints/7310/1 "2021-12-02T09:08:16Z")

</div>

Hello,  
How can I decimate a vtkPoints object (with a good distribution of points) to display only a part of the points ?  
Thanks for your help

---

<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: [December 2, 2021, 11:34am UTC](https://discourse.vtk.org/t/how-to-decimate-a-vtkpoints/7310/2 "2021-12-02T11:34:04Z")

</div>

Try vtkMaskPoints. Also, if you are building from VTK master, you might also try vtkStaticCleanPolyData (with RemoveUnusedPointsOff()).
