From 55bbe180b3c2cd88858e86a1f59c278ed466774f Mon Sep 17 00:00:00 2001 From: mpv Date: Fri, 25 Dec 2015 10:32:57 +0300 Subject: [PATCH] Fix for the issue #1179, first part --- src/GeomAlgoAPI/GeomAlgoAPI_EdgeBuilder.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/GeomAlgoAPI/GeomAlgoAPI_EdgeBuilder.cpp b/src/GeomAlgoAPI/GeomAlgoAPI_EdgeBuilder.cpp index 3c177a178..26e90ab95 100644 --- a/src/GeomAlgoAPI/GeomAlgoAPI_EdgeBuilder.cpp +++ b/src/GeomAlgoAPI/GeomAlgoAPI_EdgeBuilder.cpp @@ -140,8 +140,7 @@ std::shared_ptr GeomAlgoAPI_EdgeBuilder::lineCircleArc( const gp_Pnt& anEnd = theEndPoint->impl(); BRepBuilderAPI_MakeEdge anEdgeBuilder; - if (aStart.IsEqual(anEnd, Precision::Confusion()) - || gp_Pnt(0, 0, 0).IsEqual(anEnd, Precision::Confusion())) + if (aStart.IsEqual(anEnd, Precision::Confusion())) anEdgeBuilder = BRepBuilderAPI_MakeEdge(aCircle); else anEdgeBuilder = BRepBuilderAPI_MakeEdge(aCircle, aStart, anEnd); -- 2.39.2