예제 #1
0
        public static void Reverse(IPointCollection pts)
        {
            IEnumerable <IMapPoint> reversedPts = pts.Reverse();

            IPointCollection newPts = Runtime.geometryEngine.newPointCollection();

            foreach (IMapPoint pt in reversedPts)
            {
                newPts.Add(pt);
            }

            pts = Runtime.geometryEngine.newPointCollection();
            foreach (IMapPoint pt in newPts)
            {
                pts.Add(pt);
            }
        }
예제 #2
0
파일: GeomUtil.cs 프로젝트: iS3-Project/iS3
        public static void Reverse(IPointCollection pts)
        {
            IEnumerable<IMapPoint> reversedPts = pts.Reverse();

            IPointCollection newPts = Runtime.geometryEngine.newPointCollection();
            foreach (IMapPoint pt in reversedPts)
                newPts.Add(pt);

            pts = Runtime.geometryEngine.newPointCollection();
            foreach (IMapPoint pt in newPts)
                pts.Add(pt);
        }