mirror of https://github.com/CGAL/cgal
Temporary bug fix
Do not insert a point when an already existing point in at the same place. TODO: something better when the weight is different.
This commit is contained in:
parent
af405ac7a6
commit
f320bdee43
|
|
@ -823,7 +823,7 @@ Regular_triangulation<RTTraits, TDS>
|
||||||
case Base::ON_VERTEX:
|
case Base::ON_VERTEX:
|
||||||
{
|
{
|
||||||
Vertex_handle v = s->vertex(f.index(0));
|
Vertex_handle v = s->vertex(f.index(0));
|
||||||
v->set_point(p);
|
//v->set_point(p); // CJTODO see T3.h l.3570
|
||||||
return v;
|
return v;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
@ -885,7 +885,7 @@ Regular_triangulation<RTTraits, TDS>
|
||||||
case Base::ON_VERTEX:
|
case Base::ON_VERTEX:
|
||||||
{
|
{
|
||||||
Vertex_handle v = s->vertex(f.index(0));
|
Vertex_handle v = s->vertex(f.index(0));
|
||||||
v->set_point(p);
|
//v->set_point(p); // CJTODO see T3.h l.3570
|
||||||
return v;
|
return v;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue