work arounds for Envelope_3

This commit is contained in:
Shlomo Golubev 2007-08-09 15:52:17 +00:00
parent 0317a2d8c5
commit b67992418d
2 changed files with 0 additions and 32 deletions

View File

@ -76,20 +76,6 @@ private:
public:
std::pair<Vertex_handle, Halfedge_handle>
place_and_set_curve_end (Face_handle f,
const X_monotone_curve_2& cv, Curve_end ind,
Boundary_type bound_x, Boundary_type bound_y)
{
DHalfedge *pred;
DVertex *v = p_arr->_place_and_set_curve_end (p_arr->_face (f), cv, ind, bound_x, bound_y, &pred);
if (pred == NULL)
// No predecessor halfedge, return just the vertex:
return (std::make_pair (p_arr->_handle_for(v), Halfedge_handle()));
// Return a pair of the vertex and predecessor halfedge:
return (std::make_pair (p_arr->_handle_for(v), p_arr->_handle_for(pred)));
}
/*! Constructor with an associated arrangement. */
Arr_accessor (Arrangement_2& arr) :
p_arr (&arr)

View File

@ -84,24 +84,6 @@ protected:
typedef Arr_traits_basic_adaptor_2<Traits_2> Traits_adaptor_2;
public:
Traits_adaptor_2 * geom_traits;
/*! Access the geometry-traits object (non-const version). */
inline Traits_2* geometry_traits ()
{
return (geom_traits);
}
/*! Access the geometry-traits object (const version). */
inline const Traits_2* geometry_traits () const
{
return (geom_traits);
}
protected:
friend class Arr_observer<Self>;
friend class Arr_accessor<Self>;