Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] CDTP mesh - getting all edges

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] CDTP mesh - getting all edges


Chronological Thread 
  • From: "Sebastien Loriot (GeometryFactory)" <>
  • To:
  • Subject: Re: [cgal-discuss] CDTP mesh - getting all edges
  • Date: Wed, 04 May 2016 15:53:01 +0200
  • Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None ; spf=Pass ; spf=None
  • Ironport-phdr: 9a23:VvU1NhTAUK5M1GR5IHo3TP20Ztpsv+yvbD5Q0YIujvd0So/mwa64YhCN2/xhgRfzUJnB7Loc0qyN4/GmATZLvs/JmUtBWaIPfidNsd8RkQ0kDZzNImzAB9muURYHGt9fXkRu5XCxPBsdMs//Y1rPvi/6tmZKSV3BPAZ4bt74BpTVx5zukbviqtuLOU4X3XKUWvBbElaflU3prM4YgI9veO4a6yDihT92QdlQ3n5iPlmJnhzxtY+a9Z9n9DlM6bp6r5YTGfayQ6NtRrNRCHEqMns++dbwnRjFVwqGoHUGAUsMlR8dSTPI5hjhQpb8tGPesfB83zXSfeL7SrU5RS6zwa5gVBjymWZNf2oi9GbNi8tsyqdfiB2krh17hYXTZdfGZ7JFYqrBcIZCFiJ6VcFLWnkZDw==
  • Organization: GeometryFactory

Are you looking for finite_edges_begin()/finite_edges_end() ?

http://doc.cgal.org/latest/Triangulation_2/classCGAL_1_1Triangulation__2.html#a323d4052abfec8231531b842b15366a3

Sebastien.

On 05/03/2016 10:44 AM, Corbie wrote:
Hi,

I have created a mesh by adding the outlines of some convex polygons to a
CDTP
[CGAL::Constrained_triangulation_plus_2<Constrained_Delaunay_triangulation_2>]
and refining it
[CGAL::Delaunay_mesher_2(my_cdtp).refine_mesh()].

Now I would like to draw the mesh with OpenGL, so I have to iterate over all
the edges in the CDTP.

Using the Subconstraint_iterator and even a inner loop using the
Vertices_in_constraint_iterator just gives me the constraint borders.

How can I iterate over all the edges of the mesh?

Kind regards,
Corbie



--
View this message in context:
http://cgal-discuss.949826.n4.nabble.com/CDTP-mesh-getting-all-edges-tp4661883.html
Sent from the cgal-discuss mailing list archive at Nabble.com.





Archive powered by MHonArc 2.6.18.

Top of Page