Eyal added a definition that enables the use of is_same in

point_is_same function.
This commit is contained in:
Shai Hirsch 2001-05-02 10:19:07 +00:00
parent 27b31cbff4
commit fefc5c657d
1 changed files with 4 additions and 0 deletions

View File

@ -92,8 +92,12 @@ public:
bool point_is_same( const Point & p1, const Point & p2 ) const
{
#ifdef PM_MISC_USE_ISSAME
return is_same(p1, p2);
#else
return ( (compare_y(p1, p2) == EQUAL) &&
(compare_x(p1, p2) == EQUAL) );
#endif
}
bool point_is_left_low( const Point & p1,