Subject: CGAL users discussion list
List archive
- From: Camille Wormser <>
- To:
- Subject: Re: [cgal-discuss] Plane equations and cartesian<double> kernel
- Date: Thu, 2 Oct 2008 14:01:52 +0200
CGAL error: precondition violation!
Expr: circulator_size(h->vertex_begin()) >= size_type(3)
while trying to remove a halfedge
This means that you have degenerate faces, probably because some of the collapsing you did before was not acceptable, because the link condition was not satisfied.
Sorry, I answered a bit too fast:
In fact it means that there is a vertex with only 2 incident edges. This can happen when you join facets (my link condition was not relevant, since you do not maintain a triangulation), and it is perfectly valid.
The problem is that you cannot join two facets whose common boundary consists in two or more consecutive edges: it would result in a dangling edge.
To deal with that, you should first remove this degree 2 vertex by joining it with one of its two neighbors, check that these two neighbors have degree greater than 2 (otherwise apply the same treatment), and then you can merge the two facets.
--
Camille
- Re: [cgal-discuss] triangulate points in a 3d plane, (continued)
- Re: [cgal-discuss] triangulate points in a 3d plane, Jens K. Becker, 10/02/2008
- Re: [cgal-discuss] triangulate points in a 3d plane, Olivier Devillers, 10/02/2008
- Re: [cgal-discuss] triangulate points in a 3d plane, Shi Yan, 10/03/2008
- Re: [cgal-discuss] triangulate points in a 3d plane, Olivier Devillers, 10/02/2008
- Re: [cgal-discuss] triangulate points in a 3d plane, Jens K. Becker, 10/02/2008
- [cgal-discuss] Plane equations and cartesian<double> kernel, Jens K. Becker, 10/02/2008
- Re: [cgal-discuss] Plane equations and cartesian<double> kernel, Jens K. Becker, 10/02/2008
- [cgal-discuss] Polyhedra and join_facets, Jens K. Becker, 10/15/2008
- Re: [cgal-discuss] Plane equations and cartesian<double> kernel, Camille Wormser, 10/02/2008
- Re: [cgal-discuss] Plane equations and cartesian<double> kernel, Jens K. Becker, 10/02/2008
- Re: [cgal-discuss] Plane equations and cartesian<double> kernel, Camille Wormser, 10/02/2008
- Re: [cgal-discuss] Plane equations and cartesian<double> kernel, Camille Wormser, 10/02/2008
- Re: [cgal-discuss] Plane equations and cartesian<double> kernel, Jens K. Becker, 10/02/2008
- Re: [cgal-discuss] Plane equations and cartesian<double> kernel, Camille Wormser, 10/02/2008
- Re: [cgal-discuss] Plane equations and cartesian<double> kernel, Camille Wormser, 10/02/2008
- Re: [cgal-discuss] Plane equations and cartesian<double> kernel, Jens K. Becker, 10/02/2008
- Re: [cgal-discuss] Plane equations and cartesian<double> kernel, Jens K. Becker, 10/02/2008
- Re: [cgal-discuss] triangulate points in a 3d plane, Laurent Rineau, 10/02/2008
- [cgal-discuss] Plane equations and cartesian<double> kernel, Jens K. Becker, 10/02/2008
- Re: [cgal-discuss] triangulate points in a 3d plane, Jens K. Becker, 10/02/2008
Archive powered by MHonArc 2.6.16.