//后方交会定点法 private void button10_Click(object sender, EventArgs e) { delFeature("point"); IPoint[] points = new IPoint[3]; for (int i = 0; i < 3; i++) { points[i] = new PointClass(); } IConstructPoint constructPoint = new PointClass(); points[0].PutCoords(0, 10); points[1].PutCoords(20, 20); points[2].PutCoords(0, 0); double angle1 = Math.PI / 4; double angle2 = Math.PI / 4; double angle3 = 0; try { constructPoint.ConstructThreePointResection(points[0], angle1, points[1], angle2, points[2], out angle3); addFeature("point", points[0]); addFeature("point", points[1]); addFeature("point", points[2]); addFeature("point", constructPoint as IPoint); } catch (Exception ex) { } axMapControl1.Refresh(); }