RE: mathematical functions for scripting in LDCad
2018-03-17, 10:22 (This post was last modified: 2018-03-17, 10:29 by Joscha.)
2018-03-17, 10:22 (This post was last modified: 2018-03-17, 10:29 by Joscha.)
(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.