Subject: CGAL users discussion list
List archive
Re: [cgal-discuss] fail to initialize a Polyhedron_3 using a stream and the ">>"operator
Chronological Thread
- From: Andreas Fabri <>
- To:
- Subject: Re: [cgal-discuss] fail to initialize a Polyhedron_3 using a stream and the ">>"operator
- Date: Sun, 13 Mar 2016 19:29:32 +0100
- Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None ; spf=None ; spf=None
- Ironport-phdr: 9a23:6jk3eB8Ng9mOUv9uRHKM819IXTAuvvDOBiVQ1KB91u4cTK2v8tzYMVDF4r011RmSDdqduq4P2ruempujcFJDyK7JiGoFfp1IWk1NouQttCtkPvS4D1bmJuXhdS0wEZcKflZk+3amLRodQ56mNBXsq3G/pQQfBg/4fVIsYL+lRciD04/mhqibwN76XUZhvHKFe7R8LRG7/036l/I9ps9cEJs30QbDuXBSeu5blitCLFOXmAvgtI/rpMYwu3cYh/V0/MFJVeD2fr8zUKdDJDUgKWE8osPx5jfZSg7az30QSGgfiVJmCgLf7VmuV5H9qCbzraxz0SOAPOX5QLcxVCi4/qliQwPvkjZBPDk8pjKEwvdshb5W9Ury7yd0xJTZNdmY
- Organization: GeometryFactory
Hello,
Have a look at the edge between vertices 0 and 1
It has 3 adjacent triangles, that is it is a non-manifold
surface and not representable with a Polyhedron.
andreas
On 12/03/2016 19:26, BRYang wrote:
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.
--
Andreas Fabri, PhD
Chief Officer, GeometryFactory
Editor, The CGAL Project
phone: +33.492.954.912 skype: andreas.fabri
- [cgal-discuss] fail to initialize a Polyhedron_3 using a stream and the ">>"operator, BRYang, 03/12/2016
- Re: [cgal-discuss] fail to initialize a Polyhedron_3 using a stream and the ">>"operator, Andreas Fabri, 03/13/2016
Archive powered by MHonArc 2.6.18.