Skip to main content
Inspiring
October 24, 2016
Answered

Find tangent at certain angle

  • October 24, 2016
  • 1 reply
  • 727 views

Need to find tangent  at certain angle, say, 45 degrees.

Seems there's no methods in AIRealBezierSuite to calculate tangent at custom angle.

Have I missed the proper method in API?

This topic has been closed for replies.
Correct answer A. Patterson

You haven't missed it, but I'm not sure how you'd go about calculating that. I took a quick google and I couldn't even find a high level formula for calculating T from the tangent angle. Your best bet would be to find the formula for deriving the tangent angle from T and then re-arranging the formula. Not fun, I'll admit.

1 reply

A. Patterson
A. PattersonCorrect answer
Inspiring
October 25, 2016

You haven't missed it, but I'm not sure how you'd go about calculating that. I took a quick google and I couldn't even find a high level formula for calculating T from the tangent angle. Your best bet would be to find the formula for deriving the tangent angle from T and then re-arranging the formula. Not fun, I'll admit.