mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2025-01-28 08:40:32 +05:00
Mantis issue 0020706: EDF 1263 GEOM: Suppress faces does notremove faces and adds some more.
This commit is contained in:
parent
9ae5b722ca
commit
c0e748333f
@ -26,6 +26,8 @@
|
||||
#include <GEOMImpl_IHealing.hxx>
|
||||
#include <GEOM_Function.hxx>
|
||||
|
||||
#include <GEOMImpl_GlueDriver.hxx>
|
||||
|
||||
#include <ShHealOper_ShapeProcess.hxx>
|
||||
#include <ShHealOper_RemoveFace.hxx>
|
||||
#include <ShHealOper_CloseContour.hxx>
|
||||
@ -42,6 +44,8 @@
|
||||
#include <TopoDS_Iterator.hxx>
|
||||
#include <TopTools_IndexedMapOfShape.hxx>
|
||||
|
||||
#include <Precision.hxx>
|
||||
|
||||
#include <StdFail_NotDone.hxx>
|
||||
|
||||
//=======================================================================
|
||||
@ -261,6 +265,11 @@ Standard_Boolean GEOMImpl_HealingDriver::SuppressFaces (GEOMImpl_IHealing* theHI
|
||||
aShapesFaces.Append(aFace);
|
||||
}
|
||||
SuppressFacesRec(aShapesFaces, theOriginalShape, theOutShape);
|
||||
if ((theOriginalShape.ShapeType() == TopAbs_COMPOUND ||
|
||||
theOriginalShape.ShapeType() == TopAbs_COMPSOLID)) {
|
||||
TopoDS_Shape aSh = theOutShape;
|
||||
theOutShape = GEOMImpl_GlueDriver::GlueFaces(aSh, Precision::Confusion(), Standard_True);
|
||||
}
|
||||
}
|
||||
|
||||
return Standard_True;
|
||||
|
Loading…
Reference in New Issue
Block a user