示例#1
0
        private void Vertices(IPointCollection pColl, IPointCollection vertices, int removeAt)
        {
            if (pColl == null || vertices == null)
            {
                return;
            }

            for (int i = 0; i < pColl.PointCount; i++)
            {
                if (vertices.PointCount == removeAt)
                {
                    pColl.RemovePoint(i);
                }
                vertices.AddPoint(pColl[i]);
            }
        }