Skip to Content.
Sympa Menu

cgal-discuss - [cgal-discuss] Re: 2d mesh on concave domain not convex hull

Subject: CGAL users discussion list

List archive

[cgal-discuss] Re: 2d mesh on concave domain not convex hull


Chronological Thread 
  • 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.



Archive powered by MHonArc 2.6.16.

Top of Page