Add a check for additional degeneracy.
This commit is contained in:
parent
7a4f52e98b
commit
460d6349b0
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue