Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Nef polyhedron 3 confusion

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Nef polyhedron 3 confusion


Chronological Thread 
  • From: Andreas Fabri <>
  • To:
  • Subject: Re: [cgal-discuss] Nef polyhedron 3 confusion
  • Date: Tue, 29 Nov 2011 11:36:37 +0100
  • Organization: GeometryFactory

On 29/11/2011 11:13, Gillian Ng wrote:
I've been looking into the Nef_Polyhedron_3 class, but I don't quite
understand how to populate it with data. The data I have consists of indices
and vertices. This would work alright with Polyhedron_3, but Nef seems
different. I have considered writing it to an OBJ and then reading that OBJ
into the Nef, as it seems to be the simplest way, but I'm not sure.


You can construct a Nef_polyhedron from a Polyhedron.

The other thing I can't seem to find is, what does the following snippet
mean? They're everywhere in the examples.

Nef_polyhedron_3 N;
std::cin>> N; //<-- What's being cin'd?

A Nef_polyhedron_3 that has been written to a stream with cout << N;
It's an undocumented file format.

andreas


Help? Thanks a lot guys.

--
View this message in context:
http://cgal-discuss.949826.n4.nabble.com/Nef-polyhedron-3-confusion-tp4118630p4118630.html
Sent from the cgal-discuss mailing list archive at Nabble.com.




Archive powered by MHonArc 2.6.16.

Top of Page