Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] .nef3 file format

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] .nef3 file format


Chronological Thread 
  • From: "Bart Janssens" <>
  • To:
  • Subject: Re: [cgal-discuss] .nef3 file format
  • Date: Mon, 10 Dec 2007 20:28:23 +0100
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=X+XIzKEW7HfW/HvWe/BJbOaGN53YOCnLb8OUKh6x3pTEJ1zFfRftZXXd/6oxCoSiZUst8aABkEt4lxSqyh7NIfyaPv2nEMWprp+Ulv8+qVuX4Tnbdq7ML6wgbS33PWkYR080Db+CR8KCz+7PqUdtPgPX2Csx0K0zQSh8NOCrMAI=

On 12/10/07,


<>
wrote:
> If not, is there a code example that iterates over
> all of the exterior facets and provide both the
> exterior polygon boundary and the any internal
> polygon hole boundaries?

Hi Wayne,

The K-3D method to convert the Nef3 polyhedra back to K3-D mesh format
requires exactly this info. The source can be seen on
http://k3d.svn.sourceforge.net/viewvc/k3d/trunk/modules/booleans/conversion.cpp?view=markup

The to_mesh function on line 128 puts the points and the indices for
face and hole loops in the arrays that are declared at the start of
the function. Note that I am quite new to CGAL, and this probably is
not the best method to convert from Nef3.

p.s. Peter, have you had the chance yet to look at the assertions I've
proposed to remove in my patch?

redards,

--
Bart Janssens



Archive powered by MHonArc 2.6.16.

Top of Page