mirror of https://github.com/CGAL/cgal
Eyal added a definition that enables the use of is_same in
point_is_same function.
This commit is contained in:
parent
27b31cbff4
commit
fefc5c657d
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in New Issue