ArcMapAddinVisibility.ViewModels.TabBaseViewModel.GetPolylineFromFeedback C# (CSharp) Метод

GetPolylineFromFeedback() приватный Метод

Gets a polyline from the feedback object startPoint is where it will restart from endPoint is where you want it to end for the return of the polyline
private GetPolylineFromFeedback ( IPoint startPoint, IPoint endPoint ) : IPolyline
startPoint IPoint startPoint is where it will restart from
endPoint IPoint endPoint is where you want it to end for the return of the polyline
Результат IPolyline
        internal IPolyline GetPolylineFromFeedback(IPoint startPoint, IPoint endPoint)
        {
            if (feedback == null)
                return null;

            feedback.AddPoint(endPoint);
            var polyline = feedback.Stop();
            // restart feedback
            feedback.Start(startPoint);
            return polyline;
        }