Subject: CGAL users discussion list
List archive
- From: Raul Gallegos <>
- To:
- Subject: [cgal-discuss] strange movement of vertex
- Date: Fri, 2 Aug 2013 00:28:21 -0500
Hi community,
![Inline image 1]()
--
I was testing the move method of CDT and I got a triangulation that, I think, brokes the Delaunay property, please correct me If I am wrong.
I had this code:
int main()
{
CDT cdt;
Vertex_handle va = cdt.insert(Point(0,0));
Vertex_handle vb = cdt.insert(Point(0,10));
Vertex_handle vc = cdt.insert(Point(10,10));
Vertex_handle vd = cdt.insert(Point(10,0));
Vertex_handle vm = cdt.insert(Point(1, 3));
//this gives the Figure1.
cdt.move(vm,Point(1.66667,4.28571));
// now the triangulation changed to Figure2.
return 0;
}
Figure1
Figure2
The face on the bottom right, and the one next to it, I think they both break the Delaunay property.
Is this ok? or what should we do? Please help.
Raul O. Gallegos Hidalgo
Attachment:
figure1.png
Description: PNG image
Attachment:
figure2.png
Description: PNG image
- [cgal-discuss] strange movement of vertex, Raul Gallegos, 08/02/2013
- Re: [cgal-discuss] strange movement of vertex, Sebastien Loriot (GeometryFactory), 08/02/2013
Archive powered by MHonArc 2.6.18.