Jump to content
  • Advertisement
Sign in to follow this  
JuliaMulia123

Finding Tangent vectors for a cubic spline.

This topic is 3169 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Advertisement
At any given point the spline is described by a cubic polynomial, from which computing derivatives is rather trivial.

Share this post


Link to post
Share on other sites
What alvaro said is true. If you are unsure how to extract the tangent vector from the derivative, you should check this similar problem. Pay attention to the fact that there's actually two (left- and right-hand) normal vectors for an arbitrary point on a continuous 2D-curve.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!