# How to calculate line line intersection

**URL:** <https://discourse.vtk.org/t/how-to-calculate-line-line-intersection/10108>\
**Category:** Support\
**Created:** [December 8, 2022, 1:54am UTC](https://discourse.vtk.org/t/how-to-calculate-line-line-intersection/10108 "2022-12-08T01:54:21Z")\
**Posts on this page:** 1\
**Showing post:** 4

<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:** [December 8, 2022, 5:58pm UTC](https://discourse.vtk.org/t/how-to-calculate-line-line-intersection/10108/4 "2022-12-08T17:58:36Z")

</div>

The question was also asked and answered on the Slicer forum:

> **[How to calculate 3D line-line interesction?](https://discourse.slicer.org/t/how-to-calculate-3d-line-line-interesction/26645/2)**
>
> I used this function for intersection of finite line segments and it worked perfectly: http://paulbourke.net/geometry/pointlineplane/L3D.py

---

_[View the full topic](https://discourse.vtk.org/t/how-to-calculate-line-line-intersection/10108)._
