# Extract Point Data included in Line

**URL:** https://discourse.vtk.org/t/extract-point-data-included-in-line/3434
**Category:** Support
**Tags:** doxygen, jobs, training, proposal, file-formats
**Created:** [June 1, 2020, 9:21am UTC](https://discourse.vtk.org/t/extract-point-data-included-in-line/3434 "2020-06-01T09:21:14Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Seram](https://discourse.vtk.org/user_avatar/discourse.vtk.org/seram/32/1783_2.png) [@Seram](https://discourse.vtk.org/u/Seram)
#### Post date: [June 1, 2020, 9:21am UTC](https://discourse.vtk.org/t/extract-point-data-included-in-line/3434/1 "2020-06-01T09:21:14Z")

</div>

Hello

I want to extract the point data included in the line.

I would be grateful if you could give me any hints or methods.

My purpose is to compare the height (= Z) by outputting the Point Data in Profile form.

 ![이미지 107](https://discourse.vtk.org/uploads/default/original/2X/8/8291d42149386c74e20c56a37c8a05f57e091a68.png)

 ![이미지 108](https://discourse.vtk.org/uploads/default/original/2X/7/77b725f1a2b1410ba57409c57abcb3c90509a839.png)

Thanks!

---

<div class="post-metadata">

### Author: ![lassoan](https://discourse.vtk.org/user_avatar/discourse.vtk.org/lassoan/32/50_2.png) [@lassoan](https://discourse.vtk.org/u/lassoan)
#### Post date: [June 1, 2020, 4:12pm UTC](https://discourse.vtk.org/t/extract-point-data-included-in-line/3434/2 "2020-06-01T16:12:29Z")

</div>

You can get the profile point positions by cutting the polydata with a plane using [vtkCutter](https://vtk.org/doc/nightly/html/classvtkCutter.html). The plane goes through the two endpoints of the line and the camera position.
