Skip to Content.
Sympa Menu

cgal-discuss - using getline() function for Alg_point_2 type

Subject: CGAL users discussion list

List archive

using getline() function for Alg_point_2 type


Chronological Thread 
  • From: Mahmood NT <>
  • To: CGAL discuss <>
  • Subject: using getline() function for Alg_point_2 type
  • Date: Sun, 30 Dec 2007 03:05:15 -0800 (PST)
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type:Message-ID; b=U0D1wWX4MzxgsFYQDIgACf3xDI6LyOdleRLGdC1x3V+c8h+g44F34dhEFHSTaTcbaY/hdfNYGHHqRP8aPBtvBncFLfVdkh+Tuvy6ctVu4Tfs7zRL8Dpbnq/B9L5rIBcQa5UaXX35htKJToZu8F7HunCFMgDBvkY4CebeHmTjkos=;


Hello,
I want to read a point with Alg_point_2 type from a file.
suppose in file I have:
2 5
3 9
...

and in program I want to do something like this:
Alg_point_2 p;
ifile.getline( p, ???? );

the problem is the second argument size. how can I determine the size of
Alg_point_2?



Thanks,
Mahmood NT







____________________________________________________________________________________
Looking for last minute shopping deals?
Find them fast with Yahoo! Search.
http://tools.search.yahoo.com/newsearch/category.php?category=shopping



Archive powered by MHonArc 2.6.16.

Top of Page