Fixes after the tuples changes.

This commit is contained in:
Sylvain Pion 2008-07-27 12:01:51 +00:00
parent 5f2771ce2d
commit 8e25ac82d3
1 changed files with 5 additions and 5 deletions

View File

@ -180,7 +180,7 @@ public:
std::pair<Point_2, FT> get_biggest_circle() std::pair<Point_2, FT> get_biggest_circle()
{ {
Pq_element m_Pq = Biggest_circle; Pq_element m_Pq = Biggest_circle;
std::pair<Point_2, FT> circle(m_Pq.fourth.first, m_Pq.fourth.second); std::pair<Point_2, FT> circle(m_Pq.get<3>().first, m_Pq.get<3>().second);
return circle; return circle;
} }
protected: protected:
@ -893,13 +893,13 @@ Stream_lines_2<VectorField_2, Integrator_2>::get_pq()
while (!pq_temp.empty()) while (!pq_temp.empty())
{ {
Pq_element m_Pq_element = pq_temp.top(); Pq_element m_Pq_element = pq_temp.top();
Vertex_handle v0 = m_Pq_element.first; Vertex_handle v0 = m_Pq_element.get<0>();
Vertex_handle v1 = m_Pq_element.second; Vertex_handle v1 = m_Pq_element.get<1>();
Vertex_handle v2 = m_Pq_element.third; Vertex_handle v2 = m_Pq_element.get<2>();
pq_temp.pop(); pq_temp.pop();
Face_handle fr; Face_handle fr;
bool b0 = m_DT.is_face(v0,v1,v2,fr); bool b0 = m_DT.is_face(v0,v1,v2,fr);
Point_2 sdPoint = m_Pq_element.fourth.first; Point_2 sdPoint = m_Pq_element.get<3>().first;
if (b0) if (b0)
_list.push_front(sdPoint); _list.push_front(sdPoint);
} }