mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-19 22:50:21 +00:00
Help swig not to trip over old occt handle definitions
This commit is contained in:
@@ -636,6 +636,10 @@ struct ShapeRTTI : public boost::static_visitor<PyObject*>
|
|||||||
}
|
}
|
||||||
%}
|
%}
|
||||||
|
|
||||||
|
%ignore hlr_writer;
|
||||||
|
%ignore hlr_calc;
|
||||||
|
%ignore occt_join;
|
||||||
|
%ignore prefiltered_hlr;
|
||||||
%ignore svgfill::svg_to_line_segments;
|
%ignore svgfill::svg_to_line_segments;
|
||||||
%ignore svgfill::line_segments_to_polygons;
|
%ignore svgfill::line_segments_to_polygons;
|
||||||
|
|
||||||
|
|||||||
@@ -157,11 +157,11 @@ namespace {
|
|||||||
throw std::runtime_error("");
|
throw std::runtime_error("");
|
||||||
}
|
}
|
||||||
|
|
||||||
void operator()(Handle(HLRBRep_Algo)& algo) const {
|
void operator()(opencascade::handle<HLRBRep_Algo>& algo) const {
|
||||||
algo->Add(shape_);
|
algo->Add(shape_);
|
||||||
}
|
}
|
||||||
|
|
||||||
void operator()(Handle(HLRBRep_PolyAlgo)& algo) const {
|
void operator()(opencascade::handle<HLRBRep_PolyAlgo>& algo) const {
|
||||||
BRepMesh_IncrementalMesh(shape_, 0.10);
|
BRepMesh_IncrementalMesh(shape_, 0.10);
|
||||||
algo->Load(shape_);
|
algo->Load(shape_);
|
||||||
}
|
}
|
||||||
@@ -216,7 +216,7 @@ namespace {
|
|||||||
throw std::runtime_error("");
|
throw std::runtime_error("");
|
||||||
}
|
}
|
||||||
|
|
||||||
TopoDS_Shape operator()(Handle(HLRBRep_Algo)& algo) {
|
TopoDS_Shape operator()(opencascade::handle<HLRBRep_Algo>& algo) {
|
||||||
algo->Projector(projector_);
|
algo->Projector(projector_);
|
||||||
algo->Update();
|
algo->Update();
|
||||||
algo->Hide();
|
algo->Hide();
|
||||||
@@ -224,7 +224,7 @@ namespace {
|
|||||||
return occt_join(hlr_shapes.OutLineVCompound(), hlr_shapes.VCompound());
|
return occt_join(hlr_shapes.OutLineVCompound(), hlr_shapes.VCompound());
|
||||||
}
|
}
|
||||||
|
|
||||||
TopoDS_Shape operator()(Handle(HLRBRep_PolyAlgo)& algo) {
|
TopoDS_Shape operator()(opencascade::handle<HLRBRep_PolyAlgo>& algo) {
|
||||||
algo->Projector(projector_);
|
algo->Projector(projector_);
|
||||||
algo->Update();
|
algo->Update();
|
||||||
HLRBRep_PolyHLRToShape hlr_shapes;
|
HLRBRep_PolyHLRToShape hlr_shapes;
|
||||||
|
|||||||
Reference in New Issue
Block a user