Subject: CGAL users discussion list
List archive
- 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
- [cgal-discuss] How to check if a Vertex is on a constraint, Raul Gallegos, 06/20/2013
- Re: [cgal-discuss] How to check if a Vertex is on a constraint, Sebastien Loriot (GeometryFactory), 06/21/2013
Archive powered by MHonArc 2.6.18.