Don't complain about perfectly-closed polygons as self-intersecting
This commit is contained in:
parent
081c77f6bd
commit
b8c282fa6f
|
@ -84,6 +84,7 @@ bool POLYGON_GEOM_MANAGER::IsSelfIntersecting( bool aIncludeLeaderPts ) const
|
|||
if( aIncludeLeaderPts )
|
||||
{
|
||||
for( int i = 0; i < m_leaderPts.PointCount(); ++i )
|
||||
if( m_leaderPts.CPoint( i ) != pts.CPoint( 0 ) )
|
||||
pts.Append( m_leaderPts.CPoint( i ) );
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue