Subject: CGAL users discussion list
List archive
- From: "BJStation BJ" <>
- To:
- Subject: Re: [cgal-discuss] Problem with loading OFF file
- Date: Tue, 21 Oct 2008 15:44:17 +0800
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:references; b=BOozaSPV1FLwFjDad3X/32pEBP1V3kkI1c+sn9kqAc2ViFTZDODvmcwk+/TuWR8xZr h+RAbW0s8zXR8wQLYRILAl9401UXjqtXgsAb5YhyguS0htcDdoibA80qMfSiGK4/2856 KlMc4cUXKFynSZdpgYcbPZfg93Ys1CySJIiFI=
Dear Alliez:
Thanks for your help!!! After I adjusted the order of vertexs, the polyhedron can be created now ^_^
BJ
2008/10/20 Pierre Alliez <>
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.
You are currently subscribed to cgal-discuss.
To unsubscribe or access the archives, go to
https://lists-sop.inria.fr/wws/info/cgal-discuss
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.