diff --git a/src/ifcwrap/IfcGeomWrapper.i b/src/ifcwrap/IfcGeomWrapper.i index 46e42f8afc..592b2b1d23 100644 --- a/src/ifcwrap/IfcGeomWrapper.i +++ b/src/ifcwrap/IfcGeomWrapper.i @@ -642,6 +642,10 @@ struct ShapeRTTI : public boost::static_visitor #ifdef IFOPSH_WITH_CGAL +%ignore hlr_writer; +%ignore hlr_calc; +%ignore occt_join; +%ignore prefiltered_hlr; %ignore svgfill::svg_to_line_segments; %ignore svgfill::line_segments_to_polygons; diff --git a/src/serializers/SvgSerializer.h b/src/serializers/SvgSerializer.h index b771d33237..85237686e7 100644 --- a/src/serializers/SvgSerializer.h +++ b/src/serializers/SvgSerializer.h @@ -159,11 +159,11 @@ namespace { throw std::runtime_error(""); } - void operator()(Handle(HLRBRep_Algo)& algo) const { + void operator()(opencascade::handle& algo) const { algo->Add(shape_); } - void operator()(Handle(HLRBRep_PolyAlgo)& algo) const { + void operator()(opencascade::handle& algo) const { BRepMesh_IncrementalMesh(shape_, 0.10); algo->Load(shape_); } @@ -218,7 +218,7 @@ namespace { throw std::runtime_error(""); } - TopoDS_Shape operator()(Handle(HLRBRep_Algo)& algo) { + TopoDS_Shape operator()(opencascade::handle& algo) { algo->Projector(projector_); algo->Update(); algo->Hide(); @@ -226,7 +226,7 @@ namespace { return occt_join(hlr_shapes.OutLineVCompound(), hlr_shapes.VCompound()); } - TopoDS_Shape operator()(Handle(HLRBRep_PolyAlgo)& algo) { + TopoDS_Shape operator()(opencascade::handle& algo) { algo->Projector(projector_); algo->Update(); HLRBRep_PolyHLRToShape hlr_shapes;