1: 2:
dubbele angleInRadians = Math.Atan (y2-y1, x2-x1); dubbele angleInDegrees = angleInRadians/Math.PI * 180.0f;