Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Check if vertex was inserted inside input constraint

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Check if vertex was inserted inside input constraint


Chronological Thread 
  • From: Raul Gallegos <>
  • To:
  • Subject: Re: [cgal-discuss] Check if vertex was inserted inside input constraint
  • Date: Fri, 26 Jul 2013 17:29:25 -0500

Thank you but no, I want to know if a particular vertex was inserted inside a constrained inserted before.

So for example a constrained is formed by two vertices, those vertices are part of the constraint, but like the example, three vertices were inserted after, and those vertices are now part of the constrained edge, but they aren't the ones which formed the constraint.

Maybe is there a method that can tell me this, that this vertex is on the constraint, but it isn't the one forming that particular constraint (because the vertices forming the constraint are the ones at the two at the ends).

THank you.


On Fri, Jul 26, 2013 at 5:05 PM, Winnie <> wrote:
So there are 3 points inserted on the constrained. How can I check if a
vertex is on this case (inserted on a constrained) ?.
Are you looking for ct.are_there_incident_constraints( Vertex_handle v ) ?

https://www.cgal.org/Manual/latest/doc_html/cgal_manual/Triangulation_2_ref/Class_Constrained_triangulation_2.html#Function_bool_are_there_incident_constraints6Vertex_handle_v9;


--
You are currently subscribed to cgal-discuss.
To unsubscribe or access the archives, go to
https://sympa.inria.fr/sympa/info/cgal-discuss





--
Raul O. Gallegos Hidalgo



Archive powered by MHonArc 2.6.18.

Top of Page