[postgis-tickets] r15552 - Add more debug outputs

Sandro Santilli strk at kbt.io
Fri Aug 11 09:38:20 PDT 2017


Author: strk
Date: 2017-08-11 09:38:20 -0700 (Fri, 11 Aug 2017)
New Revision: 15552

Modified:
   trunk/liblwgeom/lwstroke.c
Log:
Add more debug outputs

Modified: trunk/liblwgeom/lwstroke.c
===================================================================
--- trunk/liblwgeom/lwstroke.c	2017-08-11 07:28:14 UTC (rev 15551)
+++ trunk/liblwgeom/lwstroke.c	2017-08-11 16:38:20 UTC (rev 15552)
@@ -217,8 +217,8 @@
 	a2 = atan2(p2->y - center.y, p2->x - center.x);
 	a3 = atan2(p3->y - center.y, p3->x - center.x);
 
-	LWDEBUGF(2, "lwarc_linearize A1:%g A2:%g A3:%g",
-		a1*180/M_PI, a2*180/M_PI, a3*180/M_PI);
+	LWDEBUGF(2, "lwarc_linearize A1:%g (%g) A2:%g (%g) A3:%g (%g)",
+		a1, a1*180/M_PI, a2, a2*180/M_PI, a3, a3*180/M_PI);
 
 	if ( flags & LW_LINEARIZE_FLAG_SYMMETRIC )
 	{{



More information about the postgis-tickets mailing list