# compute tangents and normal planes of a curve

**URL:** https://discourse.vtk.org/t/compute-tangents-and-normal-planes-of-a-curve/902
**Category:** Support
**Created:** [May 5, 2019, 5:20am UTC](https://discourse.vtk.org/t/compute-tangents-and-normal-planes-of-a-curve/902 "2019-05-05T05:20:38Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![cyanxwh](https://discourse.vtk.org/user_avatar/discourse.vtk.org/cyanxwh/32/1163_2.png) [@cyanxwh](https://discourse.vtk.org/u/cyanxwh)
#### Post date: [May 5, 2019, 5:20am UTC](https://discourse.vtk.org/t/compute-tangents-and-normal-planes-of-a-curve/902/1 "2019-05-05T05:20:38Z")

</div>

Hi guys,  
I wonder how to compute the tangents and normal planes of a curve at a point on it using VTK. I have searched it on the Internet but cannot get a clear answer. Can anyone help me?  
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: [May 5, 2019, 12:55pm UTC](https://discourse.vtk.org/t/compute-tangents-and-normal-planes-of-a-curve/902/2 "2019-05-05T12:55:22Z")

</div>

You can use [vtkFrenetSerretFrame](https://www.vtkjournal.org/browse/publication/838). See example here: [https://lorensen.github.io/VTKExamples/site/Cxx/Remote/FrenetSerretFrame/](https://lorensen.github.io/VTKExamples/site/Cxx/Remote/FrenetSerretFrame/).

The class is in a remote VTK module. If you have trouble configuring VTK to retrieve the remote module then you can grab the classes from [GitHub](https://github.com/djelouze/SplineDrivenImageSlicer).

Need for this class comes up quite often. We may consider adding it to VTK proper.

---

<div class="post-metadata">

### Author: ![cyanxwh](https://discourse.vtk.org/user_avatar/discourse.vtk.org/cyanxwh/32/1163_2.png) [@cyanxwh](https://discourse.vtk.org/u/cyanxwh)
#### Post date: [December 5, 2019, 1:37am UTC](https://discourse.vtk.org/t/compute-tangents-and-normal-planes-of-a-curve/902/4 "2019-12-05T01:37:57Z")

</div>

It perfectly solved my problem. Thank you very much!
