update an example that is in dont_submit

This commit is contained in:
Sébastien Loriot 2013-11-28 10:34:04 +01:00
parent 8e8ab82527
commit 3fe1187e96
1 changed files with 4 additions and 6 deletions

View File

@ -113,9 +113,8 @@ int main(int argc,char** argv) {
std::size_t nb_cc = cc.size();
std::cout << "P has " << nb_cc << " connected components" << std::endl;
typedef CGAL::Polyhedral_mesh_domain_3<Polyhedron, Kernel > Mesh_domain;
Mesh_domain domain(Q);
Mesh_domain::Is_in_domain is_in_domain(domain);
typedef CGAL::Point_inside_polyhedron_3<Polyhedron, Kernel > Point_inside_polyhedron_3;
Point_inside_polyhedron_3 is_in_domain(Q);
for( std::size_t i=0; i<nb_cc; ++i)
{
@ -134,9 +133,8 @@ int main(int argc,char** argv) {
std::size_t nb_cc = cc.size();
std::cout << "Q has " << nb_cc << " connected components" << std::endl;
typedef CGAL::Polyhedral_mesh_domain_3<Polyhedron, Kernel > Mesh_domain;
Mesh_domain domain(P);
Mesh_domain::Is_in_domain is_in_domain(domain);
typedef CGAL::Point_inside_polyhedron_3<Polyhedron, Kernel > Point_inside_polyhedron_3;
Point_inside_polyhedron_3 is_in_domain(P);
for( std::size_t i=0; i<nb_cc; ++i)
{