Subject: CGAL users discussion list
List archive
RE : Re: [cgal-discuss] question about fonction incident_cells of triangulation3
Chronological Thread
- From: laurency franck <>
- To:
- Subject: RE : Re: [cgal-discuss] question about fonction incident_cells of triangulation3
- Date: Sat, 24 Mar 2007 20:18:23 +0100 (CET)
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.fr; h=Message-ID:X-YMail-OSG:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=IOcnDY2/NfbS0IbFSS+CBD3DR1F0p0gK4GFVHIhn4dpENWOsNJ+uXcfupGsQcrVbEcNCTSacT2mzRCt5AMugu85ENxNqcPRdej9muMMI8tc0fcGq7XoOd9ICyqTdRgeJflB0OzN9gVCDkIZzUKeGDXEGYk0v4VM0+SD7qq0M3pM= ;
Ok,
thank you very much for this explanation
it was very clear!
I think i'll arrive to do what i want
now!
best regards,
franck
a écrit :
a écrit :
Selon laurency franck:
> Hi,
> i have a question:
> i need to know all the cells around a vertex in
> TriangulationDataStructure_3.
> I have found a function that is incident_cells
> but it use "template" and i don't know how to use this
> function. I want that this function give me a circulator
> on cells around the vertex.
> If somebody can explain me how to use this function
> it will be nice
>
> thanks for your answers
This function doesn't give you an iterator or circulator
that you can advance. Instead YOU have to give it an
'output iterator'. This is an iterator in that the function
can write the result to. For example this can be:
std::listcells;
tds.incident_cells(.., std::back_inserter(cells));
The function back_inserter creates an output iterator
and after the call you just traverse the list to do
something with the cells.
don't hesitate to tell me if this explanation wasn't
clear enough.
best regards,
andreas
>
>
> ---------------------------------
> Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions !
> Profitez des connaissances, des opinions et des expériences des internautes
> sur Yahoo! Questions/Réponses.--
> You are currently subscribed to cgal-discuss.
> To unsubscribe or access the archives, go to
> https://lists-sop.inria.fr/wws/info/cgal-discuss
>
--
You are currently subscribed to cgal-discuss.
To unsubscribe or access the archives, go to
https://lists-sop.inria.fr/wws/info/cgal-discuss
Nouveau : téléphonez moins cher avec Yahoo! Messenger ! Découvez les tarifs exceptionnels pour appeler la France et l'international. Téléchargez la version beta.
- question about fonction incident_cells of triangulation3, laurency franck, 03/23/2007
- Re: [cgal-discuss] question about fonction incident_cells of triangulation3, Morteza Romoozi, 03/23/2007
- Re: [cgal-discuss] question about fonction incident_cells of triangulation3, andreas . fabri, 03/24/2007
- RE : Re: [cgal-discuss] question about fonction incident_cells of triangulation3, laurency franck, 03/24/2007
Archive powered by MHonArc 2.6.16.