1
0
Fork 0

Revert "Minor nudging of polygons to avoid gpc failures"

This reverts commit ebc5d20e5a74320a6a9a4fc94f3e289279e63df7.
This commit is contained in:
Ralf Gerlich 2008-01-03 13:21:49 +01:00
parent 2bc393827c
commit 8fd6c9d6fa

View file

@ -325,8 +325,8 @@ void make_gpc_poly( const TGPolygon& in, gpc_polygon *out ) {
for ( int j = 0; j < in.contour_size( i ); ++j ) {
p = in.get_pt( i, j );
v_list.vertex[j].x = p.x()+2*SG_EPSILON;
v_list.vertex[j].y = p.y()+2*SG_EPSILON;
v_list.vertex[j].x = p.x();
v_list.vertex[j].y = p.y();
}
v_list.num_vertices = in.contour_size( i );
gpc_add_contour( out, &v_list, in.get_hole_flag( i ) );