Skip to Content.
Sympa Menu

cgal-discuss - [cgal-discuss] Re: Suggestion/How to output a unique polyhedron after boolean operation?

Subject: CGAL users discussion list

List archive

[cgal-discuss] Re: Suggestion/How to output a unique polyhedron after boolean operation?


Chronological Thread 
  • From: tang <>
  • To:
  • Subject: [cgal-discuss] Re: Suggestion/How to output a unique polyhedron after boolean operation?
  • Date: Thu, 18 Jul 2013 15:52:42 -0700 (PDT)

Dear Sebastien,

Thank you very much for your kindly reply. I have the following include
files and it can't pass the compiling. Could you please tell me what I have
missed?

Thanks,
Zhanghong Tang



#include <CGAL/Polyhedron_incremental_builder_3.h>
#include <CGAL/Polyhedron_3.h>
#include <CGAL/Polyhedron_items_with_id_3.h>
#include <CGAL/IO/Polyhedron_iostream.h>
#include <CGAL/IO/Nef_polyhedron_iostream_3.h>
#include <CGAL/Exact_predicates_exact_constructions_kernel.h>
#include <CGAL/Nef_polyhedron_3.h>
#include "math.h"
#include <iostream>
#include <istream>
#include <fstream>

using namespace std;
typedef CGAL::Exact_predicates_exact_constructions_kernel Kernel;
typedef Kernel::Point_3 Point_3;
typedef Kernel::Line_3 Line_3;
typedef CGAL::Nef_polyhedron_3<Kernel> Nef_polyhedron;
typedef CGAL::Polyhedron_3<Kernel,CGAL::Polyhedron_items_with_id_3>
Polyhedron;
typedef Polyhedron::HalfedgeDS HalfedgeDS;
typedef Kernel::Plane_3 Plane_3;
typedef Polyhedron::Vertex Vertex;
typedef Polyhedron::Vertex_iterator Vertex_iterator;
typedef Polyhedron::Vertex_handle Vertex_handle ;
typedef Polyhedron::Facet_iterator Facet_iterator;
typedef Polyhedron::Halfedge_handle Halfedge_handle;
typedef Polyhedron::Halfedge_around_vertex_circulator
Halfedge_vertex_circulator;
typedef Polyhedron::Halfedge_around_facet_circulator
Halfedge_facet_circulator;
typedef Nef_polyhedron::Aff_transformation_3
Aff_transformation_3;
typedef Nef_polyhedron::Vector_3
Vector_3;


The errors are as follows:

D:CGAL4.2\CGAL/Nef_3/polyhedron_3_to_nef_3.h(265): error C2039: 'plane' : is
not a member of 'CGAL::HalfedgeDS_in_place_list_face<FaceBase>'
2> with
2> [
2>
FaceBase=CGAL::I_Polyhedron_facet<CGAL::HalfedgeDS_face_max_base_with_id&lt;CGAL::HalfedgeDS_list_types&lt;CGAL::Epeck,CGAL::I_Polyhedron_derived_items_3&lt;CGAL::Polyhedron_items_with_id_3>,std::allocator<int>>,CGAL::Tag_false,size_t>>
2> ]
2>D:CGAL4.2\CGAL/Nef_3/polyhedron_3_to_nef_3.h(265): error C3861:
'get_opposite_orthogonal_vector': identifier not found
2>D:CGAL4.2\CGAL/Nef_3/polyhedron_3_to_nef_3.h(309): error C2027: use of
undefined type 'CGAL::internal::Plane_constructor<T>'
2> with
2> [
2> T=Plane
2> ]
2>D:CGAL4.2\CGAL/Nef_3/polyhedron_3_to_nef_3.h(309): error C2039: 'plane' :
is not a member of 'CGAL::HalfedgeDS_in_place_list_face<FaceBase>'
2> with
2> [
2>
FaceBase=CGAL::I_Polyhedron_facet<CGAL::HalfedgeDS_face_max_base_with_id&lt;CGAL::HalfedgeDS_list_types&lt;CGAL::Epeck,CGAL::I_Polyhedron_derived_items_3&lt;CGAL::Polyhedron_items_with_id_3>,std::allocator<int>>,CGAL::Tag_false,size_t>>
2> ]
2>D:CGAL4.2\CGAL/Nef_3/polyhedron_3_to_nef_3.h(309): error C3861:
'get_opposite_orthogonal_vector': identifier not found




--
View this message in context:
http://cgal-discuss.949826.n4.nabble.com/Suggestion-How-to-output-a-unique-polyhedron-after-boolean-operation-tp4657807p4657818.html
Sent from the cgal-discuss mailing list archive at Nabble.com.



Archive powered by MHonArc 2.6.18.

Top of Page