Skip to Content.
Sympa Menu

cgal-discuss - [cgal-discuss] fail to initialize a Polyhedron_3 using a stream and the ">>"operator

Subject: CGAL users discussion list

List archive

[cgal-discuss] fail to initialize a Polyhedron_3 using a stream and the ">>"operator


Chronological Thread 
  • From: BRYang <>
  • To:
  • Subject: [cgal-discuss] fail to initialize a Polyhedron_3 using a stream and the ">>"operator
  • Date: Sat, 12 Mar 2016 10:26:20 -0800 (PST)
  • Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None ; spf=Fail ; spf=None
  • Ironport-phdr: 9a23:u2OOIBK7UOFPdXl2BtmcpTZWNBhigK39O0sv0rFitYgULvrxwZ3uMQTl6Ol3ixeRBMOAu60C2rGd6vmxEUU7or+/81k6OKRWUBEEjchE1ycBO+WiTXPBEfjxciYhF95DXlI2t1uyMExSBdqsLwaK+i760zceF13FOBZvIaytQ8iJ35vxhrv5osSCKyxzxxODIppKZC2sqgvQssREyaBDEY0WjiXzn31TZu5NznlpL1/A1zz158O34YIxu38I46FpwecbD/S/JvxwDecAVHV1e1wyscbkvB2GQQqU7WYHSU0XlABJCk7L9kLURJD05wHAh+N712HOLMfsZaAxRHKv47otQxm+23RPDCIw7GyC0584t6lcuh/0/EQnzg==

Dear CGAL users,
I would like to initialize a Polyhedron_3 object p using a file stream, but
it fails. The data I used is:

OFF
5 8 0
1.37028 1.67692 -3.33782
-3.74183 1.67692 -1.63378
-0.333759 1.67692 1.77429
-0.333759 5.05788 -1.63378
-0.333759 -1.70404 -1.63378
3 0 2 1
3 0 1 3
3 1 2 3
3 2 0 3
3 0 1 2
3 0 4 1
3 1 4 2
3 2 4 0

and I saved the data in a file with ".off" extension.

The other thing is that the code works for other polyhedral objects.

Would you mind helping to have a check? Thank you.




--
View this message in context:
http://cgal-discuss.949826.n4.nabble.com/fail-to-initialize-a-Polyhedron-3-using-a-stream-and-the-operator-tp4661688.html
Sent from the cgal-discuss mailing list archive at Nabble.com.



Archive powered by MHonArc 2.6.18.

Top of Page