Skip to Content.
Sympa Menu

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

Subject: CGAL users discussion list

List archive

[cgal-discuss] Re: Nef polygon


Chronological Thread 
  • From: ChaoM <>
  • To:
  • Subject: [cgal-discuss] Re: Nef polygon
  • Date: Tue, 21 May 2013 21:21:20 -0700 (PDT)

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;


//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