Toponaming/Part: Remove makeElementShape and cleanup opcode code
This commit is contained in:
@@ -27,7 +27,7 @@
|
||||
#endif
|
||||
|
||||
#include "FeaturePartSection.h"
|
||||
|
||||
#include "TopoShapeOpCode.h"
|
||||
|
||||
using namespace Part;
|
||||
|
||||
@@ -46,6 +46,12 @@ short Section::mustExecute() const
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
const char *Section::opCode() const
|
||||
{
|
||||
return Part::OpCodes::Section;
|
||||
}
|
||||
|
||||
BRepAlgoAPI_BooleanOperation* Section::makeOperation(const TopoDS_Shape& base, const TopoDS_Shape& tool) const
|
||||
{
|
||||
// Let's call algorithm computing a section operation:
|
||||
|
||||
Reference in New Issue
Block a user