From: dbv Date: Wed, 29 Mar 2017 09:01:10 +0000 (+0300) Subject: Issue #2024: Redesign of circle and arc of circle X-Git-Tag: V_2.7.0~156 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=b76dd8fad229a2a8bd5857a966909fa2ab94febb;p=modules%2Fshaper.git Issue #2024: Redesign of circle and arc of circle Fixed arc orientation when creating by 3 point --- diff --git a/src/SketchPlugin/SketchPlugin_MacroArc.cpp b/src/SketchPlugin/SketchPlugin_MacroArc.cpp index de876dc96..cd199d936 100644 --- a/src/SketchPlugin/SketchPlugin_MacroArc.cpp +++ b/src/SketchPlugin/SketchPlugin_MacroArc.cpp @@ -366,6 +366,7 @@ void SketchPlugin_MacroArc::fillByThreePassedPoints() std::shared_ptr anAxis = SketchPlugin_Sketch::plane(sketch()); GeomAPI_Circ2d aCircle(myStart, myEnd, aPassed, anAxis); myCenter = aCircle.center(); + aCircle = GeomAPI_Circ2d(myCenter, myStart); recalculateReversedFlagByPassed(aCircle); } else