- Moved equal_xyz near equal_xy.

This commit is contained in:
Sylvain Pion 2000-08-23 13:58:15 +00:00
parent e1ab728593
commit aad2e5f028
1 changed files with 8 additions and 8 deletions

View File

@ -107,6 +107,14 @@ equal_xy(const PointC3<R CGAL_CTAG> &p, const PointC3<R CGAL_CTAG> &q)
return p.x() == q.x() && p.y() == q.y();
}
template < class R >
inline
bool
equal_xyz(const PointC3<R CGAL_CTAG> &p, const PointC3<R CGAL_CTAG> &q)
{
return p.x() == q.x() && p.y() == q.y() && p.z() == q.z();
}
template < class R >
inline
Comparison_result
@ -143,14 +151,6 @@ lexicographically_xy_smaller(const PointC3<R CGAL_CTAG> &p,
return compare_lexicographically_xy(p,q) == SMALLER;
}
template < class R >
inline
bool
equal_xyz(const PointC3<R CGAL_CTAG> &p, const PointC3<R CGAL_CTAG> &q)
{
return p.x() == q.x() && p.y() == q.y() && p.z() == q.z();
}
template < class R >
Comparison_result
compare_lexicographically_xyz(const PointC3<R CGAL_CTAG> &p,