mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-24 21:10:33 +05:00
workplane.circle
This commit is contained in:
parent
01b26ef1d3
commit
880b21745b
@ -371,9 +371,10 @@ public:
|
|||||||
return shared_from_this();
|
return shared_from_this();
|
||||||
}
|
}
|
||||||
|
|
||||||
auto Circle(gp_Pnt2d p, double r)
|
auto Circle(double x, double y, double r)
|
||||||
{
|
{
|
||||||
MoveTo(p.X()+r, p.Y());
|
|
||||||
|
MoveTo(x+r, y);
|
||||||
Direction (0, 1);
|
Direction (0, 1);
|
||||||
Arc(r, 180);
|
Arc(r, 180);
|
||||||
Arc(r, 180);
|
Arc(r, 180);
|
||||||
|
Loading…
Reference in New Issue
Block a user