- fixes to support clamping to a small grid (improves triangulation)
(These are not yet enabled by default because we haven't addressed what happens when snapping a hole boundary, but not the original object to fit in the hole.)
This commit is contained in:
parent
d1424d75c7
commit
c0b4508955
1 changed files with 6 additions and 0 deletions
|
@ -136,6 +136,12 @@ FGTriangle::build( const point_list& corner_list,
|
|||
// new way
|
||||
|
||||
// try to make sure our polygons aren't goofy
|
||||
#if 0
|
||||
// CLO 09/18/2001: if we snap polygons including holes
|
||||
// will this screw up the edge matching when objects are
|
||||
// inserted into their holes?
|
||||
gpc_poly = snap(gpc_poly, 0.000001);
|
||||
#endif
|
||||
gpc_poly = remove_dups( gpc_poly );
|
||||
gpc_poly = reduce_degeneracy( gpc_poly );
|
||||
gpc_poly = remove_dups( gpc_poly );
|
||||
|
|
Loading…
Add table
Reference in a new issue