src/libbg/lod.cpp
bool
POPState::is_equal(rec r1, rec r2, int level)
{
    bool tl_x = (to_level(r1.x, level) == to_level(r2.x, level));
    bool tl_y = (to_level(r1.y, level) == to_level(r2.y, level));
    bool tl_z = (to_level(r1.z, level) == to_level(r2.z, level));
    return (tl_x && tl_y && tl_z);
}
// Compares two coordinates for equality (on a given precision level)
Compares two coordinates for equality (on a given precision level)
Compares two coordinates for equality ( on a given precision level )
bool
POPState::is_equal(rec r1, rec r2, int level)
{
    bool tl_x = (to_level(r1.x, level) == to_level(r2.x, level));
    bool tl_y = (to_level(r1.y, level) == to_level(r2.y, level));
    bool tl_z = (to_level(r1.z, level) == to_level(r2.z, level));
    return (tl_x && tl_y && tl_z);
}
bool POPState :: is_equal ( rec r1 , rec r2 , int level ) { bool tl_x = ( to_level ( r1 . x , level ) == to_level ( r2 . x , level ) ) ; bool tl_y = ( to_level ( r1 . y , level ) == to_level ( r2 . y , level ) ) ; bool tl_z = ( to_level ( r1 . z , level ) == to_level ( r2 . z , level ) ) ; return ( tl_x && tl_y && tl_z ) ; }
Compares two coordinates for equality (on a given precision level)
Compares two coordinates for equality ( on a given precision level )