mirror of
https://git.osgeo.org/gitea/postgis/postgis
synced 2024-10-24 17:12:35 +00:00
Add another printing block
git-svn-id: http://svn.osgeo.org/postgis/trunk@4592 b70326c6-7e19-0410-871a-916f4a2858ee
This commit is contained in:
parent
e63e221fbd
commit
c01dd43e99
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue