mathematical functions for scripting in LDCad


RE: mathematical functions for scripting in LDCad
#14
(2018-03-16, 9:08)Jarema Wrote: As with another pool of questions. Because I have never been strong... in mathematics. I ask how to determine the angle of inclination of a given part with respect to a given axis ?

Hi Jarema

From the mathematical point of view the angle between two vectors is determined by

angle=acos( vecA*vecB / abs(vecA) / abs(vecB) )

 

Sorry, I wanted to post a formula, but for some reason I couldn't post the image.
Reply
« Next Oldest | Next Newest »



Messages In This Thread
RE: mathematical functions for scripting in LDCad - by Joscha - 2018-03-17, 10:22

Forum Jump:


Users browsing this thread: 1 Guest(s)