mirror of https://github.com/CGAL/cgal
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:
commit
d4e8c9089c
|
|
@ -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));
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue