skip the infinite vertex to avoid computing stuff on associated points

This commit is contained in:
Jane Tournois 2016-04-05 14:26:20 +02:00
parent dbb2be1462
commit 061df89383
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();
it != vertices.end(); ++it)
{
if (dt.is_infinite(*it))
continue;
Vector p = ((*it)->point() - v->point())/2;
planes.push_back (Plane(CGAL::ORIGIN+p, p));
}