======Метод PolylineExtentions.GetNearestPoint(IEnumerable, Vector2D)====== * **Пространство имен:** [[developers:references:topomatic.cad.foundation|Topomatic.Cad.Foundation]] * **Сборка:** Topomatic.Cad.Foundation (в Topomatic.Cad.Foundation.dll) =====Синтаксис===== public static Vector2D GetNearestPoint(IEnumerable collection, Vector2D to) **Параметры** * //collection// * Тип: [[developers:references:system.collections.generic.ienumerable_1|System.Collections.Generic.IEnumerable]]<[[developers:references:topomatic.cad.foundation.vector2d|Topomatic.Cad.Foundation.Vector2D]]> * //to// * Тип: [[developers:references:topomatic.cad.foundation.vector2d|Topomatic.Cad.Foundation.Vector2D]] **Возвращаемое значение** * Тип: [[developers:references:topomatic.cad.foundation.vector2d|Topomatic.Cad.Foundation.Vector2D]]