mirror of https://github.com/CGAL/cgal
handle case of identical projected points
This commit is contained in:
parent
754e57ac3c
commit
42068f6009
|
|
@ -1447,6 +1447,12 @@ triangulate_hole_polyline_with_cdt(const PointRange& points,
|
||||||
vertices[v->info()] = v;
|
vertices[v->info()] = v;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (vertices.size()!=cdt.number_of_vertices())
|
||||||
|
{
|
||||||
|
visitor.end_planar_phase(false);
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
for (std::size_t i = 0; i < size; ++i) {
|
for (std::size_t i = 0; i < size; ++i) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue