mirror of https://github.com/CGAL/cgal
add missing reserve overload for HDS
This commit is contained in:
parent
bd955e57d3
commit
9a4b4a7969
|
|
@ -470,7 +470,16 @@ struct HDS_property_map<vertex_point_t>
|
||||||
typename T::Point_3, const typename T::Point_3&> const_type;
|
typename T::Point_3, const typename T::Point_3&> const_type;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
template<class T, class I, class A>
|
||||||
|
void reserve(HalfedgeDS_default<T,I,A>& p,
|
||||||
|
typename boost::graph_traits< HalfedgeDS_default<T,I,A> const>::vertices_size_type nv,
|
||||||
|
typename boost::graph_traits< HalfedgeDS_default<T,I,A> const>::edges_size_type ne,
|
||||||
|
typename boost::graph_traits< HalfedgeDS_default<T,I,A> const>::faces_size_type nf)
|
||||||
|
{
|
||||||
|
p.reserve(nv, 2*ne, nf);
|
||||||
|
}
|
||||||
|
|
||||||
}// namespace CGAL
|
}// namespace CGAL
|
||||||
namespace boost {
|
namespace boost {
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue