mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-24 21:10:33 +05:00
output
This commit is contained in:
parent
5a82e18ed1
commit
1f599e6e47
@ -319,7 +319,7 @@ public:
|
|||||||
auto Line(double len, optional<string> name = nullopt)
|
auto Line(double len, optional<string> name = nullopt)
|
||||||
{
|
{
|
||||||
gp_Dir2d dir = localpos.Direction();
|
gp_Dir2d dir = localpos.Direction();
|
||||||
cout << "dir = " << dir.X() << ", " << dir.Y() << endl;
|
cout << IM(6) << "dir = " << dir.X() << ", " << dir.Y() << endl;
|
||||||
gp_Pnt2d oldp = localpos.Location();
|
gp_Pnt2d oldp = localpos.Location();
|
||||||
oldp.Translate(len*dir);
|
oldp.Translate(len*dir);
|
||||||
return LineTo (oldp.X(), oldp.Y(), name);
|
return LineTo (oldp.X(), oldp.Y(), name);
|
||||||
|
Loading…
Reference in New Issue
Block a user