Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Errors when get Facet_handle from Halfedge_around_facet_circulator

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Errors when get Facet_handle from Halfedge_around_facet_circulator


Chronological Thread 
  • From: "Mathieu Brédif" <>
  • To:
  • Subject: Re: [cgal-discuss] Errors when get Facet_handle from Halfedge_around_facet_circulator
  • Date: Fri, 25 Apr 2008 17:39:47 +0200
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=xAEL0l/Q2em9IeUFZC7ZH7AapmTGt29iCTgF2l6vvV83VFuucnDLIru84fl78GpAzVjisFweNbT5k2vTuO/ZO803kIQg3Z+am5l7I+Wg5roRPod+y7YR0jJpRP3Arse2G5b6BfxFeNNggUwOEZNHE149lpDXxVOZAlxeiYaxOHw=

that is an easy one : you made a typo, it is "opposite", not "oposite".

Mathieu

On Fri, Apr 25, 2008 at 5:24 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
>
> --
> You are currently subscribed to cgal-discuss.
> To unsubscribe or access the archives, go to
> https://lists-sop.inria.fr/wws/info/cgal-discuss
>



Archive powered by MHonArc 2.6.16.

Top of Page