Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Triangle selection

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Triangle selection


Chronological Thread 
  • From: Andreas Fabri <>
  • To:
  • Subject: Re: [cgal-discuss] Triangle selection
  • Date: Tue, 19 Jun 2007 11:23:39 +0200


You might have a look at the Line_face_circulator.
It allows to traverse all triangles intersected by a Line_2

andreas


Tyver Ray wrote:
Hello!

There's a sublime figure that I've created just for you!!

If I want to select all the triangles (red, orange and green on the figure) that have their vertices on the black edge on the figure below, do I have to iterate on all finite vertices and compare the vertices to the all the points on the black edge?
If I have 200 000 triangles it will take a long time...Do you have another idea or method or if there's not please tell me!


| ¬
| ¬
| ¬
| ¬ ¬
|¬ ¬
| ¬ ¬
| ¬ ¬
|¬ ¬ ¬


Thank you!

Tyv




Archive powered by MHonArc 2.6.16.

Top of Page