From 2b6da3563c3b41592ea40cd184b172f2df817afd Mon Sep 17 00:00:00 2001
From: Christophe Geuzaine <cgeuzaine@ulg.ac.be>
Date: Thu, 11 May 2017 17:20:33 +0200
Subject: [PATCH] better debug msg for wrong circle arcs

---
 Geo/Geo.cpp | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/Geo/Geo.cpp b/Geo/Geo.cpp
index 79d1fcf002..e60ec2cd62 100644
--- a/Geo/Geo.cpp
+++ b/Geo/Geo.cpp
@@ -345,8 +345,9 @@ void EndCurve(Curve *c)
     }
     else if(!v[3] && fabs((R - R2) / (R + R2)) > 0.1){
       // check cocircular pts (allow 10% error)
-      Msg::Error("Control points of circle with tag %d are not cocircular (%g, %g)",
-                 c->Num, R, R2);
+      Msg::Error("Control points of circle with tag %d are not cocircular: "
+                 "R1=%g, R2=%g, n=[%g,%g,%g]",
+                 c->Num, R, R2, n[0], n[1], n[2]);
     }
     // A1 = angle first pt
     // A3 = angle last pt
-- 
GitLab