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: "Sebastien Loriot (GeometryFactory)" <>
  • To:
  • Subject: Re: [cgal-discuss] Simplification: selection process and constrained edges
  • Date: Thu, 03 Apr 2014 19:30:03 +0200
  • Organization: GeometryFactory

On 04/03/2014 06:00 PM, Zohar wrote:

I'm not clear about the edge to be collapsed selection process. I'll try to
understand it from the code, but I think that the documentation can be
clearer about this. I have two types of constraints on edges:

1. A constraint that isn't going to change, and this edge would never be
collapsed.
2. A temporary constraint that is relevant to the current mesh state, and
might change (be lifted/removed) later, when the mesh changes.

I put both types in EdgeConstraints::is_constrained(), but clearly it's a
mistake. For example, in Edge_collapse_visitor_base::OnCollected() it seems
that constrained edges (even temporary) would never be checked again. So I'm
guessing that temporary constraints should be added to
Edge_collapse_visitor_base::OnSelected() or MyPlacement::operator().



If you put an edge as a constrained it will not be inserted in the
edges to be removed. If your constrained edge changes over the time,
the only way that they get in the queue is if they are in the 2-ring
neighborhood of an edge to be collapsed.

There's no mechanism watching edges being unconstrained.

I'm not sure to understand what you want to do.

Sebastien.


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





Archive powered by MHonArc 2.6.18.

Top of Page