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: "naresh" <>
  • To: <>
  • Subject: Re: [cgal-discuss] incident_facets function of a Delaunay triangulation
  • Date: Sat, 21 Mar 2009 18:37:26 +0530


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:
To:
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!香港提供網上安全攻略,教你如何防範黑客!了解更多



Archive powered by MHonArc 2.6.16.

Top of Page