Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Reassign facet_handle->halfedge() - simplification related

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Reassign facet_handle->halfedge() - simplification related


Chronological Thread 
  • From: "Sebastien Loriot (GeometryFactory)" <>
  • To:
  • Subject: Re: [cgal-discuss] Reassign facet_handle->halfedge() - simplification related
  • Date: Tue, 11 Mar 2014 07:47:20 +0100
  • Organization: GeometryFactory

I didn't understand correctly your problem yesterday.
Actually, there is no bug but you would like that after calling
join_vertex(h) the halfedges of the incident facets to be updated only
if it was h or h->opposite(), right?

Sebastien.

On 03/10/2014 02:26 PM, Zohar wrote:
I attached a mesh, and an image of the before and after the final edge
contraction, v1 in purple, vL in black, and a black arrow on a face fh
denotes fh->halfedge(). Consider the halfedge() of facet v1,vR,vy0).
I can provide the series of collapses, but to create a minimal example
it would require time.



On Monday, March 10, 2014 9:15 AM, Zohar [via cgal-discuss] <[hidden
email] </user/SendEmail.jtp?type=node&node=4658939&i=0>> wrote:

In HalfedgeDS_decorator.h:

Halfedge_handle join_vertex( Halfedge_handle h) {
...
if ( ! hprev->is_border())
set_face_halfedge( hprev);
if ( ! gprev->is_border())
set_face_halfedge( gprev);
}

The face halfedge is set arbitrarily to hprev and gprev regardless of
what it was.

------------------------------------------------------------------------
If you reply to this email, your message will be added to the discussion
below:
http://cgal-discuss.949826.n4.nabble.com/Reassign-facet-handle-halfedge-simplification-related-tp4658927p4658938.html

To unsubscribe from Reassign facet_handle->halfedge() - simplification
related, click here.
NAML



*dented_plane5.obj* (8K) Download Attachment
<http://cgal-discuss.949826.n4.nabble.com/attachment/4658939/0/dented_plane5.obj>
*new_integer_cones.jpg* (156K) Download Attachment
<http://cgal-discuss.949826.n4.nabble.com/attachment/4658939/1/new_integer_cones.jpg>

------------------------------------------------------------------------
View this message in context: Re: Reassign facet_handle->halfedge() -
simplification related
<http://cgal-discuss.949826.n4.nabble.com/Reassign-facet-handle-halfedge-simplification-related-tp4658927p4658939.html>
Sent from the cgal-discuss mailing list archive
<http://cgal-discuss.949826.n4.nabble.com/> at Nabble.com.




Archive powered by MHonArc 2.6.18.

Top of Page