Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#3171 closed defect (fixed)

test failure when building against SFCGAL master branch (1.2.0dev)

Reported by: strk Owned by: colivier
Priority: high Milestone: PostGIS 2.2.0
Component: sfcgal Version: master
Keywords: Cc:

Description

I get a failure in ST_MinkowskiSum when building against SFCGAL 1.2.0dev:

 regress_sfcgal .. failed (diff expected obtained: /tmp/pgis_reg/test_108_diff)
-----------------------------------------------------------------------------
--- regress_sfcgal_expected     2015-05-15 10:14:22.785148157 +0200
+++ /tmp/pgis_reg/test_108_out  2015-06-17 15:08:45.844335059 +0200
@@ -7,7 +7,7 @@
 ST_ForceLHR|POLYGON((0 0,1 0,1 1,0 1,0 0))
 ST_Orientation_1|-1
 ST_Orientation_2|1
-ST_MinkowskiSum|MULTIPOLYGON(((0 0,1 0,5 0,5 1,4 1,0 1,0 0)))
+ST_MinkowskiSum|MULTIPOLYGON(((4 1,4 1,4 1)))
 ST_StraightSkeleton|MULTILINESTRING((0 0,0.5 0.5),(1 0,0.5 0.5),(1 1,0.5 0.5),(0 1,0.5 0.5))
 intersection_geos|POINT(0 0)
 intersection_sfcgal|POINT(-0 -0)

Change History (3)

comment:1 by strk, 9 years ago

I cannot reproduce this anymore after switching to a released CGAL version. The only one left now is a minus-zero which I took care of by shifting the input off the origin with r13869

comment:2 by strk, 9 years ago

Resolution: fixed
Status: newclosed

comment:3 by strk, 9 years ago

r14150 is the backport to 2.1 of the "-0" avoidance patch

Note: See TracTickets for help on using tickets.