Machsupport Forum
Mach Discussion => VB and the development of wizards => Topic started by: swetha22 on December 28, 2008, 02:17:10 AM
-
Hi, i want to calculate the angle of a line between 2 points (x1,y1)-(x2,y2).Is there any built in function for this in mach?
please help me out with formula code.
Thanks
Krishna
-
V = (x1 - x2) / (Y1 - Y2)
A = ATN(V)
-
Thank you .