# How to compute the intersection of a segment with a tetrahedron

**URL:** https://discourse.vtk.org/t/how-to-compute-the-intersection-of-a-segment-with-a-tetrahedron/1984
**Category:** Support
**Created:** [October 26, 2019, 1:00pm UTC](https://discourse.vtk.org/t/how-to-compute-the-intersection-of-a-segment-with-a-tetrahedron/1984 "2019-10-26T13:00:35Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![ztdep](https://discourse.vtk.org/user_avatar/discourse.vtk.org/ztdep/32/1008_2.png) [@ztdep](https://discourse.vtk.org/u/ztdep)
#### Post date: [October 26, 2019, 1:00pm UTC](https://discourse.vtk.org/t/how-to-compute-the-intersection-of-a-segment-with-a-tetrahedron/1984/1 "2019-10-26T13:00:35Z")

</div>

Dear sir:  
I want to know the intersection points of a segment and a tetrahedron.  
which API can resolve this.  
Regards

---

<div class="post-metadata">

### Author: ![Ron84](https://discourse.vtk.org/user_avatar/discourse.vtk.org/ron84/32/630_2.png) [@Ron84](https://discourse.vtk.org/u/Ron84)
#### Post date: [October 26, 2019, 2:01pm UTC](https://discourse.vtk.org/t/how-to-compute-the-intersection-of-a-segment-with-a-tetrahedron/1984/2 "2019-10-26T14:01:33Z")

</div>

What’s a segment? For a boolean operation there is [https://github.com/zippy84/vtkbool](https://github.com/zippy84/vtkbool) for example. But you have to convert the vtkTetra, if you are using it, to vtkPolyData.
