MissionPlanner.GridUI.getAngleOfLongestSide C# (CSharp) Method