src/libbg/lod.cpp
bool
POPState::tri_degenerate(rec r0, rec r1, rec r2, int level)
{
    return is_equal(r0, r1, level) || is_equal(r1, r2, level) || is_equal(r0, r2, level);
}
// Checks whether a triangle is degenerate (at least two coordinates are the
// same on the given precision level)
Checks whether a triangle is degenerate (at least two coordinates are the
same on the given precision level)
Checks whether a triangle is degenerate ( at least two coordinates are the same on the given precision level )
bool
POPState::tri_degenerate(rec r0, rec r1, rec r2, int level)
{
    return is_equal(r0, r1, level) || is_equal(r1, r2, level) || is_equal(r0, r2, level);
}
bool POPState :: tri_degenerate ( rec r0 , rec r1 , rec r2 , int level ) { return is_equal ( r0 , r1 , level ) || is_equal ( r1 , r2 , level ) || is_equal ( r0 , r2 , level ) ; }
Checks whether a triangle is degenerate (at least two coordinates are the
same on the given precision level)
Checks whether a triangle is degenerate ( at least two coordinates are the same on the given precision level )