Subject: CGAL users discussion list
List archive
Re: [cgal-discuss] Errors when get Facet_handle from Halfedge_around_facet_circulator
Chronological Thread
- From: Sebastien Loriot <>
- To:
- Subject: Re: [cgal-discuss] Errors when get Facet_handle from Halfedge_around_facet_circulator
- Date: Fri, 25 Apr 2008 17:43:44 +0200
maybe opposite() instead of oposite()....
On Friday 25 April 2008 05:24:09 pm samuel kim wrote:
> Hi all,
>
> I need you help to solve this problem. I want to travel half-edges of 3D
> model using Halfedge_around_facet_circulator. When traveling the Halfedge,
> I want to get Facet_handle of the facet in the next opposite direction of
> Halfedge. I wrote source code as the below, but errors are coming out
> saying "error C2039: 'oposite' : is not a member of
> CGAL::HalfedgeDS_in_place_list_halfedge<HalfedgeBase>'".
>
> Anybody knows to how to solve this problem? I am using the data structure
> from"enriched_polyhedron.h" Thank you for your all attention.
>
>
> Facet_iterator pFacet = facets_begin();
> Halfedge_around_facet_circulator pHalfedge = pFacet->facet_begin();
> Facet_handle hf_new;
> int index=0;
>
> do{
> hf_new = pHalfedge->next()->oposite()->facet(); // get Facet_handle
> from Halfedge
> hf_new->tag(1); // set tag number on the facet
> pFacet = hf_new; // take the new Facet_iterator from Facet_handle
> pHalfedge = pFacet->facet_begin(); // start the new facet
> index++;
> }while(index != 10);
>
>
> Samuel
- Precondition_exception in Sign_Sturm_sequence.h, Mathieu Brédif, 04/25/2008
- Re: Precondition_exception in Sign_Sturm_sequence.h, Mathieu Brédif, 04/25/2008
- Re: [cgal-discuss] Re: Precondition_exception in Sign_Sturm_sequence.h, Daniel Russel, 04/30/2008
- [cgal-discuss] Errors when get Facet_handle from Halfedge_around_facet_circulator, samuel kim, 04/25/2008
- Re: [cgal-discuss] Errors when get Facet_handle from Halfedge_around_facet_circulator, Mathieu Brédif, 04/25/2008
- Re: [cgal-discuss] Errors when get Facet_handle from Halfedge_around_facet_circulator, Sebastien Loriot, 04/25/2008
- RE: [cgal-discuss] Errors when get Facet_handle from Halfedge_around_facet_circulator, samuel kim, 04/25/2008
- Re: Precondition_exception in Sign_Sturm_sequence.h, Mathieu Brédif, 04/25/2008
Archive powered by MHonArc 2.6.16.