Merge pull request #988 from janetournois/Point_set_processing-fix_runtime_error_bis-jtournois

(Merge branch 'releases/CGAL-4.8-branch')
This commit is contained in:
Laurent Rineau 2016-04-11 15:42:35 +02:00
commit d4e8c9089c
1 changed files with 2 additions and 0 deletions

View File

@ -148,6 +148,8 @@ namespace CGAL {
for(typename std::list<Vertex_handle>::iterator it = vertices.begin(); for(typename std::list<Vertex_handle>::iterator it = vertices.begin();
it != vertices.end(); ++it) it != vertices.end(); ++it)
{ {
if (dt.is_infinite(*it))
continue;
Vector p = ((*it)->point() - v->point())/2; Vector p = ((*it)->point() - v->point())/2;
planes.push_back (Plane(CGAL::ORIGIN+p, p)); planes.push_back (Plane(CGAL::ORIGIN+p, p));
} }