Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Simplification: selection process and constrained edges

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Simplification: selection process and constrained edges


Chronological Thread 
  • From: Zohar <>
  • To:
  • Subject: Re: [cgal-discuss] Simplification: selection process and constrained edges
  • Date: Sat, 12 Apr 2014 16:42:15 -0700 (PDT)


Okay, I dug some more. The LindstromTurk_cost checks the placement (unlike
Edge_length_cost). So if my placement returns empty due to temporary
bijectivity constraint, the edge would be rejected due to empty cost. So I
moved the bijectivity constraint from MyPlacement to the Loop:

if ( lPlacement && Is_collapse_geometrically_valid(lProfile, lPlacement) &&
Multires::is_collapse_bijective(*lEdge) ) {

and now it seems to work fine.



--
View this message in context:
http://cgal-discuss.949826.n4.nabble.com/Simplification-selection-process-and-constrained-edges-tp4659059p4659115.html
Sent from the cgal-discuss mailing list archive at Nabble.com.



Archive powered by MHonArc 2.6.18.

Top of Page