Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] How to check if a Vertex is on a constraint

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] How to check if a Vertex is on a constraint


Chronological Thread 
  • From: "Sebastien Loriot (GeometryFactory)" <>
  • To:
  • Subject: Re: [cgal-discuss] How to check if a Vertex is on a constraint
  • Date: Fri, 21 Jun 2013 07:49:38 +0200
  • Organization: GeometryFactory

On 06/20/2013 11:17 PM, Raul Gallegos wrote:
How can I check (on O(1) if possible) if a vertex is on a constraint
(Edge or two vertices) ?

I wouldn't want to iterate every edge on the CDT and check the vertices
inside.

The fact that an edge is constrained is stored in its incident facets.
There is no information in the vertex. You need to trun around the vertex and check if one edge is constrained.

Sebastien.


Regards,

--
Raul O. Gallegos Hidalgo




Archive powered by MHonArc 2.6.18.

Top of Page