Subject: CGAL users discussion list
List archive
- From: Pierre Alliez <>
- To:
- Subject: Re: [cgal-discuss] Problem with loading OFF file
- Date: Mon, 20 Oct 2008 17:31:49 +0200
- Organization: INRIA
be careful to provide the facets with consistent orientation - here is the fixed version of your mesh.
BJStation BJ a écrit :
Dear All:
I want to create a polyhedron by using an .off file,
The example files in CGAL (subdivision_3 corner.off,...) can be the correct input to the following code: cin >> Polyhedron.
But this .off file created by myself (the attached file) doesn't work correctly, and I can't figure out where is the problem >"<
When I describe the facets in the file, is there any certain order?
Can anyone help me? Thank you very much.
OFF
9 14 21
228.875 316.875 0
331.875 252.5 0
214.688 223.313 86.07
263.375 238.75 72.9375
263.375 238.75 -72.9375
129.375 213.75 0
297.875 160.625 0
214.688 223.313 -86.07
200.5 129.75 0
3 8 2 5
3 5 7 8
3 1 3 6
3 6 4 1
3 6 3 2
3 7 4 6
3 5 2 0
3 0 7 5
3 6 2 8
3 8 7 6
3 0 3 1
3 1 4 0
3 2 3 0
3 0 4 7
- [cgal-discuss] Problem with loading OFF file, BJStation BJ, 10/20/2008
- Re: [cgal-discuss] Problem with loading OFF file, Pierre Alliez, 10/20/2008
- Re: [cgal-discuss] Problem with loading OFF file, BJStation BJ, 10/21/2008
- Re: [cgal-discuss] Problem with loading OFF file, Pierre Alliez, 10/20/2008
Archive powered by MHonArc 2.6.16.