]> granicus.if.org Git - postgis/commitdiff
Add more debug outputs
authorSandro Santilli <strk@kbt.io>
Fri, 11 Aug 2017 16:38:20 +0000 (16:38 +0000)
committerSandro Santilli <strk@kbt.io>
Fri, 11 Aug 2017 16:38:20 +0000 (16:38 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@15552 b70326c6-7e19-0410-871a-916f4a2858ee

liblwgeom/lwstroke.c

index ad4738b070a6516ee6a18b4b05e39632d5070989..a99fb1e477372835e9c266490c6dffa62f1ce314 100644 (file)
@@ -217,8 +217,8 @@ lwarc_linearize(POINTARRAY *to,
        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 )
        {{