Code formatting

This commit is contained in:
Maciej Suminski 2018-02-19 10:03:56 +01:00
parent 0504a6db52
commit 2f4ec0c0c4
1 changed files with 22 additions and 20 deletions

View File

@ -1893,7 +1893,6 @@ SHAPE_POLY_SET &SHAPE_POLY_SET::operator=(const SHAPE_POLY_SET & aOther)
class SHAPE_POLY_SET::TRIANGULATION_CONTEXT
{
public:
@ -2051,6 +2050,7 @@ void SHAPE_POLY_SET::triangulateSingle( const POLYGON& aPoly,
ctx.Triangulate();
}
bool SHAPE_POLY_SET::IsTriangulationUpToDate() const
{
if( !m_triangulationValid )
@ -2139,6 +2139,7 @@ MD5_HASH SHAPE_POLY_SET::checksum() const
return hash;
}
bool SHAPE_POLY_SET::HasTouchingHoles() const
{
for( int i = 0; i < OutlineCount(); i++ )
@ -2152,6 +2153,7 @@ bool SHAPE_POLY_SET::HasTouchingHoles() const
return false;
}
bool SHAPE_POLY_SET::hasTouchingHoles( const POLYGON& aPoly ) const
{
std::vector< VECTOR2I > pts;