Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] incident_facets function of a Delaunay triangulation

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] incident_facets function of a Delaunay triangulation


Chronological Thread 
  • From: Query Cgal <>
  • To:
  • Subject: Re: [cgal-discuss] incident_facets function of a Delaunay triangulation
  • Date: Sat, 21 Mar 2009 06:16:11 -0700 (PDT)
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com.hk; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=yvPsQzf1GS3IzcDSKj31L1oCgSjrwt+hbeLSD+x00tg3Zn1QpF22DbnLZUyPubLGxFyp9ltVpBS4FjiRVjbCfa+Di1ad42ZslDM8JWEBQ2+9DHDTz7G7u7w3v/mhyzs/z221fLFSwI7y16OyQjA3Gr2BxubRmv4AGl5rf/54eMU=;

THank you for your reply.

In fact, I am dealing with a 3D triangulation (sorry that I forgot to mention that it is 3D in the previous post.)
and therefore, I cannot use Facet since Facet is not represented in 3D triangulation.
So, what should I do to use incident_facets() of a 3D triangulation.

Thank you



--- 2009年3月21日 星期六,naresh <> 寫道﹕

寄件人: naresh <>
主題: Re: [cgal-discuss] incident_facets function of a Delaunay triangulation
收件人:
日期: 2009 3 21 星期六 下午 1:07


Hi
 
I think you should try like this
 
typedef Trianluation_2::Facet Facet;   // something here that you had used in ur programme may different i had showed only example
 
vector<Facet> f;
Dt.incident_facets(start, back_inserter(f));
 
 
----- Original Message -----
From: Query Cgal
Sent: Saturday, March 21, 2009 5:45 PM
Subject: [cgal-discuss] incident_facets function of a Delaunay triangulation

Hi, I have tried to use the function below

template <class OutputIterator>
OutputIterator t.incident_facets ( Vertex_handle v, OutputIterator facets)


Copies all Facets incident to v to the output iterator facets. Returns the resulting output iterator.
Precondition:  t.dimension() >1 , v Vertex_handle(), t.is_vertex(v)..
 
When I tried to used it in the following way but it didn't work,

vector<Finite_facets_iterator> f;
Dt.incident_facets(start, back_inserter(f));

May I ask in what other way should I use the Output iterator then ?

Thank you








Yahoo!香港提供網上安全攻略,教你如何防範黑客!了解更多


Yahoo!香港提供網上安全攻略,教你如何防範黑客!了解更多


Archive powered by MHonArc 2.6.16.

Top of Page