ArcAnnihilation.Core.GetClosestPoint C# (CSharp) Метод

GetClosestPoint() приватный статический Метод

private static GetClosestPoint ( string pos ) : System.Vector3
pos string
Результат System.Vector3
        private static Vector3 GetClosestPoint(string pos)
        {
            /*return LaneDictionary.Where(
                y => y.Value == pos && y.Key.Distance2D(Objects.Fountains.GetAllyFountain()) <= y.Key.Distance2D(me))
                .OrderBy(x => x.Key.Distance2D(me)).First().Key;*/

            var list=LaneDictionary.Keys.ToList();
            switch (pos)
            {
                case "top":
                    return list[0];
                case "bot":
                    return list[3];
                default:
                    return list[6];
            }
        }