Wednesday, November 14, 2007

Find the angle between two line segments - VB6 and VB.NET

This website gives you the code to get the angle between two linesegments. The code is in VB6, but to convert it to VB.NET all youhave to do is change "Abs" to System.Math.Abs and "atn" toSystem.Math.ATAN