]> granicus.if.org Git - postgis/commitdiff
Add another printing block
authorPaul Ramsey <pramsey@cleverelephant.ca>
Mon, 5 Oct 2009 14:37:05 +0000 (14:37 +0000)
committerPaul Ramsey <pramsey@cleverelephant.ca>
Mon, 5 Oct 2009 14:37:05 +0000 (14:37 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@4592 b70326c6-7e19-0410-871a-916f4a2858ee

liblwgeom/cunit/cu_geodetic.c

index 03ba57c3eeb1bde4312f0ab4df750307b3e7865f..d38b9dc99bfb124c22044fc1db3eb1fb8a485945 100644 (file)
@@ -315,6 +315,13 @@ void test_edge_intersection(void)
        edge_set(0.0, -1.0, 0.0, 0.0, &e2);
        rv = edge_intersection(e1, e2, &g);
        point_rad2deg(&g);
+#if 0
+       printf("\n");
+       printf("LINESTRING(%.8g %.8g, %.8g %.8g)\n", e1.start.lon,  e1.start.lat, e1.end.lon,  e1.end.lat);
+       printf("LINESTRING(%.8g %.8g, %.8g %.8g)\n", e2.start.lon,  e2.start.lat, e2.end.lon,  e2.end.lat);
+       printf("g = (%.9g %.9g)\n", g.lon, g.lat);
+       printf("rv = %d\n", rv);
+#endif
        CU_ASSERT_DOUBLE_EQUAL(g.lon, 0.0, 0.00001);
        CU_ASSERT_EQUAL(rv, LW_TRUE);