Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Re: How to use CGAL Trang methods

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Re: How to use CGAL Trang methods


Chronological Thread 
  • From: Sweety Pie <>
  • To:
  • Subject: Re: [cgal-discuss] Re: How to use CGAL Trang methods
  • Date: Sat, 10 Mar 2012 01:20:40 +0300

Thanks for the replies. Can someone tell me how can i generate the Visual studio solutions using Cmake?? I need the step by step procedure please.
Thanks

On 8 March 2012 10:46, ahmed <> wrote:
I used  this (Triangulation 3) and it works perfectly:

std::ifstream in("vertices.cin");
 std::istream_iterator<Point> begin(in);
 std::istream_iterator<Point> end;
 Triangulation T;
 T.insert(begin,end);
 Triangle t;
 Triangulation::Finite_facets_iterator it;
for (it = T.finite_facets_begin () ; it != T.finite_facets_end () ; it++)
 { t=T.triangle(*it);
}
You have to include the required headers and you can use t.vertex(i) to get
the vertices.

Ahmed

--
View this message in context: http://cgal-discuss.949826.n4.nabble.com/How-to-use-CGAL-Trang-methods-tp4455754p4455783.html
Sent from the cgal-discuss mailing list archive at Nabble.com.

--
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