finite in rebind

cosmetics
This commit is contained in:
Eric Berberich 2008-01-24 10:10:26 +00:00
parent 523c2d93fd
commit 0794fa46c8
1 changed files with 9 additions and 7 deletions

View File

@ -215,6 +215,7 @@ public:
New_rep newrep;
newrep._m_xy = pt.ptr()->_m_xy;
newrep._m_x = pt.ptr()->_m_x;
newrep._m_is_finite = pt.ptr()->_m_is_finite;
// TODO set arc_rep in rebind of arc! (eriC)
//newrep._m_arc_rep = pt.ptr()->_m_arc_rep;
newrep._m_location = pt.ptr()->_m_location;
@ -353,7 +354,7 @@ public:
//! \pre the point's x must be finite (set by construction)
inline
const X_coordinate_1& x() const {
CGAL_precondition_msg(this->ptr()->_m_xy || this->ptr()->_m_x,
"Denied access to x-coordinate of the curve end \
lying at x-infinity");
@ -417,17 +418,14 @@ public:
}
//!@}
//!\name Predicates
//!@{
#define CGAL_CKvA_2_GRAB_CK_FUNCTOR_FOR_POINT(X, Y, Z) \
typename Curved_kernel_via_analysis_2::X Y = \
Curved_kernel_via_analysis_2::instance().Z(); \
// CGAL_precondition(_ckva() != NULL);
// typename Curved_kernel_via_analysis_2::X Y =
// _ckva()->Z();
//!\brief compares x-coordinates of two points
//!
//!\pre compared points have finite x-coordinates
@ -477,6 +475,10 @@ public:
#undef CGAL_CKvA_2_GRAB_CK_FUNCTOR_FOR_POINT
//!@}
//!\name Comparison operators
//!@{
//! comparison operators (only for finite points):
//! equality