From 3df3bbc948e046d3164c7c971e5a03a2926c7eb7 Mon Sep 17 00:00:00 2001 From: shirnschall Date: Fri, 13 Aug 2021 16:03:53 +0200 Subject: [PATCH] changed variable name --- libsrc/occ/python_occ_shapes.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libsrc/occ/python_occ_shapes.cpp b/libsrc/occ/python_occ_shapes.cpp index a0ee60b5..15464e8f 100644 --- a/libsrc/occ/python_occ_shapes.cpp +++ b/libsrc/occ/python_occ_shapes.cpp @@ -257,12 +257,12 @@ public: oldp.Translate(radius*dirn); //compute tangent vector in P1 - gp_Vec2d tangv = gp_Vec2d(dir.X(),dir.Y()); + gp_Vec2d t = gp_Vec2d(dir.X(),dir.Y()); - cout << "t = (" << tangv.X() << ", " << tangv.Y() << ")" << endl; + cout << "t = (" << t.X() << ", " << t.Y() << ")" << endl; //add arc - return ArcTo (oldp.X(), oldp.Y(), tangv); + return ArcTo (oldp.X(), oldp.Y(), t); } auto Rectangle (double l, double w)