Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Unable to read .off files

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Unable to read .off files


Chronological Thread 
  • From: Giles Bathgate <>
  • To:
  • Subject: Re: [cgal-discuss] Unable to read .off files
  • Date: Sat, 19 Apr 2014 20:38:32 +0100

I think the problem is in your file:

it should be:

OFF
4 2 0

-3.628 9.5893 -1.5654
-3.628 -0.2361 2.66
4.2771 -1.3605 -1.5654
4.2771 4.3454 2.66
3 0 1 3
3 1 2 3

i.e. 3 0 1 3, not 3 0 1 2

Forgive me if I am wrong.

Regards,
Giles


On 19 April 2014 20:08, dg <> wrote:
Hi all,

I am trying to read a .off file using the stream operator ( >> ) directly
into the polyhedron class
CGAL::Polyhedron_3<Exact_predicates_exact_constructions_kernel> but it not
reading the .off file.
Although, when I try to read standard .off files from internet they work
fine.

We are creating our own .off file according to its format. Here is the
sample file.
t1.off <http://cgal-discuss.949826.n4.nabble.com/file/n4659156/t1.off>

Thanks.
dg



--
View this message in context: http://cgal-discuss.949826.n4.nabble.com/Unable-to-read-off-files-tp4659156.html
Sent from the cgal-discuss mailing list archive at Nabble.com.

--
You are currently subscribed to cgal-discuss.
To unsubscribe or access the archives, go to
https://sympa.inria.fr/sympa/info/cgal-discuss






Archive powered by MHonArc 2.6.18.

Top of Page