mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-25 05:20:34 +05:00
compiler fixes for Circle2d
This commit is contained in:
parent
87f796c6d9
commit
028c8ce63d
@ -870,7 +870,8 @@ DLL_HEADER void ExportNgOCC(py::module &m)
|
|||||||
});
|
});
|
||||||
|
|
||||||
m.def("Circle", [](gp_Pnt2d p1, double r) -> Handle(Geom2d_Curve) {
|
m.def("Circle", [](gp_Pnt2d p1, double r) -> Handle(Geom2d_Curve) {
|
||||||
return GCE2d_MakeCircle(p1, r).Value();
|
Handle(Geom2d_Circle) curve = GCE2d_MakeCircle(p1, r);
|
||||||
|
return curve;
|
||||||
// gp_Ax2d ax; ax.SetLocation(p1);
|
// gp_Ax2d ax; ax.SetLocation(p1);
|
||||||
// return new Geom2d_Circle(ax, r);
|
// return new Geom2d_Circle(ax, r);
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user