//构造圆弧点 private void button1_Click(object sender, EventArgs e) { delFeature("point"); //构造一段圆弧 IPoint centerPoint = new PointClass(); centerPoint.PutCoords(10, 0); IPoint fromPoint = new PointClass(); fromPoint.PutCoords(0, 0); IPoint toPoint = new PointClass(); toPoint.PutCoords(0, 20); IConstructCircularArc circularArcConstruction = new CircularArcClass(); circularArcConstruction.ConstructThreePoints(fromPoint, centerPoint, toPoint, false); //构造圆弧点 IConstructMultipoint constructMultipoint = new MultipointClass(); constructMultipoint.ConstructArcPoints(circularArcConstruction as ICircularArc); IPointCollection pointCollection = constructMultipoint as IPointCollection; for (int i = 0; i < pointCollection.PointCount; i++) { addFeature("point", pointCollection.get_Point(i)); } axMapControl1.Refresh(); }