1
0
Fork 0

Add a check for additional degeneracy.

This commit is contained in:
curt 2003-08-22 19:15:48 +00:00
parent 7a4f52e98b
commit 460d6349b0

View file

@ -143,6 +143,7 @@ TGTriangle::build( const point_list& corner_list,
gpc_poly = reduce_degeneracy( gpc_poly ); gpc_poly = reduce_degeneracy( gpc_poly );
gpc_poly = remove_dups( gpc_poly ); gpc_poly = remove_dups( gpc_poly );
gpc_poly = remove_bad_contours( gpc_poly ); gpc_poly = remove_bad_contours( gpc_poly );
gpc_poly = remove_cycles( gpc_poly );
cout << "after sanity checks, contours = " cout << "after sanity checks, contours = "
<< gpc_poly.contours() << endl; << gpc_poly.contours() << endl;