日期:2014-05-17 浏览次数:21037 次
IPointCollection pPc = pFeature.Shape as IPointCollection;
int nPointCount = pPc.PointCount;
for (int i = 0; i < nPointCount; i++)
{
IPoint tP1 = pPc.get_Point(i);
double originX = 0.0;
double originY = 0.0;
originX = pPc.get_Point(i).X;
originY = pPc.get_Point(i).Y;
double dNewX = 0.0; double dNewY = 0.0;
ProcessCoor(originX, originY, ref dX, ref dY);
tP1.PutCoords(dX, dY);
pPc.UpdatePoint(i, tP1);
}