Subject: CGAL users discussion list
List archive
- From: chaffra <>
- To:
- Subject: [cgal-discuss] Re: 2d mesh on concave domain not convex hull
- Date: Wed, 15 Feb 2012 12:30:13 -0800 (PST)
I tried the code below on my mesh. It compiles but it get the following
error. Anyone has an idea how to do this?
CGAL ERROR: assertion violation!
Expr: DSC::type(m_ptr.p) == DSC::USED
File: /usr/include/CGAL/Compact_container.h
Line: 825
Explanation: Incrementing an invalid iterator.
**code
//Delete faces not in domain
for(CDT::Face_iterator fit = cdt.faces_begin();
fit != cdt.faces_end();
++fit){
//Face_handle f = fit;
if (!fit->is_in_domain()){
info("Removing non domain face");
cdt.delete_face(fit);
}
}
--
View this message in context:
http://cgal-discuss.949826.n4.nabble.com/2d-mesh-on-concave-domain-not-convex-hull-tp4391254p4391847.html
Sent from the cgal-discuss mailing list archive at Nabble.com.
- [cgal-discuss] Re: 2d mesh on concave domain not convex hull, chaffra, 02/15/2012
- [cgal-discuss] Re: 2d mesh on concave domain not convex hull, chaffra, 02/15/2012
- Re: [cgal-discuss] Re: 2d mesh on concave domain not convex hull, Sebastien Loriot (GeometryFactory), 02/16/2012
Archive powered by MHonArc 2.6.16.