Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Re: Nef polygon

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Re: Nef polygon


Chronological Thread 
  • From: "Sebastien Loriot (GeometryFactory)" <>
  • To:
  • Subject: Re: [cgal-discuss] Re: Nef polygon
  • Date: Wed, 22 May 2013 07:27:49 +0200
  • Organization: GeometryFactory

On 05/22/2013 06:21 AM, ChaoM wrote:
Hello Sebastien:
Today I go on do the experience. I put the polyhedron directly to
Nef,and use union operate, But the output of .off dose not show me the index
of points.
The more detail codes :

std::ifstream off1(D:\\.....);
std::ifstream off2(D:\\.....);

Nef_polyhedron n1,n2, N1,N2, N;
//read nef polyhedra from off files
CGAL::OFF_to_nef_3(off1,n1);
CGAL::OFF_to_nef_3(off2,n2);

N1 = n1 + n2;
N2 = n1 * n2;
N = N1 - N2;


N1=n1+n2;
Polyhedron p;
N1.convert_to_polyhedron(p);

std::ifstream output(D:\\...\\.off);
output<< p;


//convert the nef polyhedron as a polyhedron
Polyhedron p;
N.convert_to_polyhedron(p);

std::ifstream output(D:\\...\\.off);
output<< p;



The .off show
OFF
690,0,0
Poins in 3D coordinates...
But no index ?
So should I do the Delaunay to get the index?


"



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





Archive powered by MHonArc 2.6.18.

Top of Page