mirror of https://github.com/CGAL/cgal
skip the infinite vertex to avoid computing stuff on associated points
This commit is contained in:
parent
dbb2be1462
commit
061df89383
|
|
@ -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));
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue