# Boundary point of a cross-section 

**URL:** <https://discourse.slicer.org/t/boundary-point-of-a-cross-section/22719>\
**Category:** VMTK\
**Created:** [March 28, 2022, 11:17am UTC](https://discourse.slicer.org/t/boundary-point-of-a-cross-section/22719 "2022-03-28T11:17:07Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dongwei1](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/dongwei1/32/14027_2.png) [@Dongwei1](https://discourse.slicer.org/u/Dongwei1)\
**Post date:** [March 28, 2022, 11:17am UTC](https://discourse.slicer.org/t/boundary-point-of-a-cross-section/22719/1 "2022-03-28T11:17:07Z")

</div>

Hi all,

I am currently using vmtk to compute the centerline and cross-section of the vessel. I do aware that vmtkcenterlinesections can help me calculate the area of the cross-section perpendicular to the centerline, but is there a way to fetch the coordinates of boundary points of the cross-section?

Thank you in advance!

Bests,  
Dongwei

---

<div class="post-metadata">

**Author:** ![chir.set](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/chir.set/32/66982_2.png) [@chir.set](https://discourse.slicer.org/u/chir.set)\
**Post date:** [March 28, 2022, 3:32pm UTC](https://discourse.slicer.org/t/boundary-point-of-a-cross-section/22719/2 "2022-03-28T15:32:57Z")

</div>

> [@Dongwei1](#):
>
> s there a way to fetch the coordinates of boundary points of the cross-section

If you use SlicerVMTK extension, you may hack the module ‘Cross-section analysis’ to get the surface points a cross-section from [here](https://github.com/vmtk/SlicerExtension-VMTK/blob/b280bd8471e4036282be3c7402c37e7d099d0d3e/CrossSectionAnalysis/CrossSectionAnalysis.py#L1131). Unless I misunderstood your workflow and your need.

---

<div class="post-metadata">

**Author:** ![Dongwei1](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/dongwei1/32/14027_2.png) [@Dongwei1](https://discourse.slicer.org/u/Dongwei1)\
**Post date:** [March 31, 2022, 11:32am UTC](https://discourse.slicer.org/t/boundary-point-of-a-cross-section/22719/3 "2022-03-31T11:32:03Z")

</div>

Thank you! I will try it out!
