Esempio n. 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);
            }
        }
Esempio n. 2
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);
        }