| Surface of Rotation with Jonathan Hill .NET Wrapper |
 |
| Artem Chernetzov |
2008/06/09 15:44 |
For example. I try to translate code from mfc sample:
gp_Circ c = gp_Circ(gp_Ax2(gp_Pnt(200.,200.,0.),gp_Dir(0.,0.,1.)), 80.);
TopoDS_Edge Ec = BRepBuilderAPI_MakeEdge(c);
TopoDS_Wire Wc = BRepBuilderPI_MakeWire(Ec);
TopoDS_Face F = BRepBuilderAPI_MakeFace(gp_Pln(gp::XOY()),Wc);
axe = gp_Ax1(gp_Pnt(290,290.,0.),gp_Dir(0.,1,0.));
TopoDS_Shape S4 = BRepPrimAPI_MakeRevol(F,axe, 90.*PI180);
But in wrapper MakeRevol has constructor only with (ICurve) parameter... How surface of rotation can be implemented? Thanks. |
 |
| | | |