# How to get the intersection between two splines?

**URL:** https://discourse.vtk.org/t/how-to-get-the-intersection-between-two-splines/8633
**Category:** Support
**Tags:** python
**Created:** [May 30, 2022, 7:42pm UTC](https://discourse.vtk.org/t/how-to-get-the-intersection-between-two-splines/8633 "2022-05-30T19:42:50Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Jaafar\_Nasrabadi](https://discourse.vtk.org/user_avatar/discourse.vtk.org/jaafar_nasrabadi/32/1387_2.png) [@Jaafar\_Nasrabadi](https://discourse.vtk.org/u/Jaafar_Nasrabadi)
#### Post date: [May 30, 2022, 7:42pm UTC](https://discourse.vtk.org/t/how-to-get-the-intersection-between-two-splines/8633/1 "2022-05-30T19:42:50Z")

</div>

I am trying to get intersections between two splines.I convert the splines to tube then use vtktrianglefilter and then get the intersection with vtkintersectionpolydatafilter. I want to get intersection points respectively (from first to last). But sometimes their order is not right.
