boardManager.DistancePointLine C# (CSharp) Method