Esempio n. 1
0
 /// <summary>
 /// 
 /// </summary>
 /// <param name="srcPts"></param>
 /// <param name="snapPts"></param>
 /// <returns></returns>
 private ICoordinate[] SnapLine(ICoordinate[] srcPts, ICoordinate[] snapPts)
 {
     LineStringSnapper snapper = new LineStringSnapper(srcPts, snapTolerance);
     return snapper.SnapTo(snapPts);
 }
Esempio n. 2
0
        /// <summary>
        ///
        /// </summary>
        /// <param name="srcPts"></param>
        /// <param name="snapPts"></param>
        /// <returns></returns>
        private ICoordinate[] SnapLine(ICoordinate[] srcPts, ICoordinate[] snapPts)
        {
            LineStringSnapper snapper = new LineStringSnapper(srcPts, snapTolerance);

            return(snapper.SnapTo(snapPts));
        }