Subject: CGAL users discussion list
List archive
- From: Dennis Endt <>
- To:
- Subject: [cgal-discuss] Delaunay Triangulation - number of edges
- Date: Sun, 02 Nov 2008 13:43:00 +0100
- Domainkey-signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; b=ECxBfudcPbHa4NDaUHu6wPVTUTypxInFwD4iTyE2tw9qO4o1tsLtwHpJj5gFeHOjms eJXkboz6ilp/7xba25lc4kozHFFEsGVa4FbPw+ZTS4rQDoFE0zMyVbD/PbposM6sfioy F5ZiAc+z+bNbkBhBalhBy2vhrvxa3jmUu0lR4=
Hi,
I`ve a problem with the 3D Delaunay Triangulation. I want to triangulate
buildings with multiple fassades. Ech fassade contains of a certain
number of vertices.
That`s my code:
#include <CGAL/Simple_cartesian.h>
#include <CGAL/Filtered_kernel.h>
#include <CGAL/Delaunay_triangulation_3.h>
typedef CGAL::Simple_cartesian<double> SK;
typedef CGAL::Filtered_kernel<SK> FK;
struct K : public FK {};
typedef K::Point_3 Point_3;
typedef K::Triangle_3 Triangle_3;
typedef CGAL::Delaunay_triangulation_3<K> Triangulation;
.
.
.
Triangulation T..... // the Triangulation object of my current fassade
for(Triangulation::Finite_edges_iterator ie = T.finite_edges_begin(); ie
!= T.finite_edges_end(); ie++)
{
// The problem is, that the number of infinite_edges is too high.
For example the number of vertices is 5, he gives me 9 edges or 4 and he
gives me 6 edges.
}
Why does he gives me so a large number of edges? I would expect 7 or 5
so far. What can I do, about to get a clean and good triangulation of
each of my fassades?
Best,
Dennis
- [cgal-discuss] Delaunay Triangulation - number of edges, Dennis Endt, 11/02/2008
- [cgal-discuss] Re: Delaunay Triangulation - number of edges, Dennis Endt, 11/02/2008
- Re: [cgal-discuss] Re: Delaunay Triangulation - number of edges, Manuel Caroli, 11/02/2008
- Re: [cgal-discuss] Re: Delaunay Triangulation - number of edges, Dennis Endt, 11/02/2008
- Re: [cgal-discuss] Re: Delaunay Triangulation - number of edges, Manuel Caroli, 11/02/2008
- Re: [cgal-discuss] Re: Delaunay Triangulation - number of edges, Monique Teillaud, 11/02/2008
- Re: [cgal-discuss] Re: Delaunay Triangulation - number of edges, Monique Teillaud, 11/02/2008
- Re: [cgal-discuss] Re: Delaunay Triangulation - number of edges, Dennis Endt, 11/02/2008
- Re: [cgal-discuss] Re: Delaunay Triangulation - number of edges, Monique Teillaud, 11/02/2008
- Re: [cgal-discuss] Re: Delaunay Triangulation - number of edges, Dennis Endt, 11/02/2008
- Re: [cgal-discuss] Re: Delaunay Triangulation - number of edges, Nico Kruithof, 11/02/2008
- Re: [cgal-discuss] Re: Delaunay Triangulation - number of edges, Dennis Endt, 11/02/2008
- Re: [cgal-discuss] Re: Delaunay Triangulation - number of edges, Monique Teillaud, 11/02/2008
- Re: [cgal-discuss] Re: Delaunay Triangulation - number of edges, Dennis Endt, 11/02/2008
- Re: [cgal-discuss] Re: Delaunay Triangulation - number of edges, Manuel Caroli, 11/02/2008
- [cgal-discuss] Re: Delaunay Triangulation - number of edges, Dennis Endt, 11/02/2008
Archive powered by MHonArc 2.6.16.