mirror of https://github.com/CGAL/cgal
replaced Hash_map
This commit is contained in:
parent
2651118f55
commit
a482f4f3a9
|
|
@ -78,7 +78,7 @@ Let |j = C.index_of_vertex_in_opposite_facet(f,i)|. Then
|
|||
|i = C.index_of_vertex_in_opposite_facet(g,j)|.}*/
|
||||
|
||||
#include <CGAL/basic.h>
|
||||
#include <CGAL/Hash_map.h>
|
||||
#include <CGAL/Unique_hash_map.h>
|
||||
#ifndef _MSC_VER
|
||||
#include <CGAL/Regular_complex_d.h>
|
||||
#else
|
||||
|
|
@ -500,7 +500,7 @@ public:
|
|||
all_pnts_.insert(all_pnts_.end(),first,last);
|
||||
|
||||
int dcur = current_dimension();
|
||||
Hash_map<Facet_handle, std::list<Point_d> > PointsOf;
|
||||
Unique_hash_map<Facet_handle, std::list<Point_d> > PointsOf;
|
||||
std::list<Facet_handle> FacetCandidates;
|
||||
typename R::Oriented_side_d side_of =
|
||||
kernel().oriented_side_d_object();
|
||||
|
|
@ -685,7 +685,7 @@ public:
|
|||
|void operator()(Facet_handle) const|}*/
|
||||
{
|
||||
if (current_dimension() > 1) {
|
||||
Hash_map<Facet_handle,bool> visited(false);
|
||||
Unique_hash_map<Facet_handle,bool> visited(false);
|
||||
std::list<Facet_handle> candidates;
|
||||
candidates.push_back(start_facet_);
|
||||
visited[start_facet_] = true;
|
||||
|
|
|
|||
|
|
@ -55,7 +55,7 @@ void operator()(HDS& hds )
|
|||
ch.number_of_facets() );
|
||||
// would be nice to have statistical data on
|
||||
// Chull available other than print_statistics()
|
||||
Hash_map<Vertex_handle, int> index( -1);
|
||||
Unique_hash_map<Vertex_handle, int> index( -1);
|
||||
std::list<Facet_handle> L = ch.all_facets();
|
||||
typename std::list<Facet_handle>::iterator fit;
|
||||
Facet_handle f;
|
||||
|
|
|
|||
|
|
@ -91,7 +91,7 @@ the nearest site triangulation and the test
|
|||
the furthest site triangulation.
|
||||
}*/
|
||||
|
||||
#include <CGAL/Hash_map.h>
|
||||
#include <CGAL/Unique_hash_map.h>
|
||||
#include <CGAL/Convex_hull_d.h>
|
||||
|
||||
CGAL_BEGIN_NAMESPACE
|
||||
|
|
@ -492,7 +492,7 @@ public:
|
|||
void all_vertices_below(const Lifted_hyperplane_d& h,
|
||||
Simplex_handle s,
|
||||
std::list<Vertex_handle>& result,
|
||||
Hash_map<Vertex_handle,bool>& is_new,
|
||||
Unique_hash_map<Vertex_handle,bool>& is_new,
|
||||
bool is_cocircular) const;
|
||||
|
||||
|
||||
|
|
@ -617,8 +617,8 @@ void Delaunay_d<R,Lifted_R>::project(Regular_complex_d<R>& RC, int which) const
|
|||
{
|
||||
RC.clear(dimension());
|
||||
Delaunay_voronoi_kind k = (which == -1 ? NEAREST : FURTHEST);
|
||||
Hash_map<Simplex_const_handle, Simplex_handle > project_simps;
|
||||
Hash_map<Vertex_const_handle, Vertex_handle > project_verts;
|
||||
Unique_hash_map<Simplex_const_handle, Simplex_handle > project_simps;
|
||||
Unique_hash_map<Vertex_const_handle, Vertex_handle > project_verts;
|
||||
int dc = current_dimension();
|
||||
RC.set_current_dimension(dc);
|
||||
|
||||
|
|
@ -923,7 +923,7 @@ void Delaunay_d<R,Lifted_R>::
|
|||
all_vertices_below(const Lifted_hyperplane_d& h,
|
||||
Simplex_handle s,
|
||||
std::list< Vertex_handle >& result,
|
||||
Hash_map<Vertex_handle,bool>& is_new,
|
||||
Unique_hash_map<Vertex_handle,bool>& is_new,
|
||||
bool is_cocircular) const
|
||||
{
|
||||
visited_mark(s) = true;
|
||||
|
|
@ -969,7 +969,7 @@ range_search(const Sphere_d& C) const
|
|||
}
|
||||
Simplex_handle s = simplex(v);
|
||||
bool is_cocircular = const_cast<Self*>(this)->is_S_cocircular();
|
||||
Hash_map<Vertex_handle,bool> is_new(true);
|
||||
Unique_hash_map<Vertex_handle,bool> is_new(true);
|
||||
int d = dimension();
|
||||
std::vector<Lifted_point_d> P(d + 1);
|
||||
typename Lifted_R::Lift_to_paraboloid_d lift =
|
||||
|
|
@ -1038,7 +1038,7 @@ std::list< CGAL_TYPENAME_MSVC_NULL Delaunay_d<R,Lifted_R>::Vertex_handle >
|
|||
Delaunay_d<R,Lifted_R>::
|
||||
all_vertices(Delaunay_voronoi_kind k) const
|
||||
{
|
||||
Hash_map<Vertex_handle,bool> is_new_vertex(true);
|
||||
Unique_hash_map<Vertex_handle,bool> is_new_vertex(true);
|
||||
std::list<Vertex_handle> result;
|
||||
std::list<Simplex_handle> hull_simplices = all_simplices(k);
|
||||
typename std::list<Simplex_handle>::iterator it;
|
||||
|
|
|
|||
Loading…
Reference in New Issue