const GeomAPI_Shape::ShapeType theType,
const std::shared_ptr<GeomAPI_DataMapOfShapeShape> theMapOfSubShapes,
const std::string theName,
- int& theShapeIndex,
- int& theTag);
+ int& theShapeIndex);
//==================================================================================================
FeaturesPlugin_Pipe::FeaturesPlugin_Pipe()
aShape->shapeType(),
theMapOfSubShapes,
aName,
- aShape->shapeType() == GeomAPI_Shape::EDGE ? aShapeIndex : aFaceIndex,
- theTag);
+ aShape->shapeType() == GeomAPI_Shape::EDGE ? aShapeIndex : aFaceIndex);
} else {
std::string aName = theName + aShapeTypeStr;
storeSubShape(theResultBody, aShape, aShapeTypeToExplore,
- theMapOfSubShapes, aName, aShapeIndex, theTag);
+ theMapOfSubShapes, aName, aShapeIndex);
}
}
}
const GeomAPI_Shape::ShapeType theType,
const std::shared_ptr<GeomAPI_DataMapOfShapeShape> theMapOfSubShapes,
const std::string theName,
- int& theShapeIndex,
- int& theTag)
+ int& theShapeIndex)
{
for(GeomAPI_ShapeExplorer anExp(theShape, theType); anExp.more(); anExp.next()) {
GeomShapePtr aSubShape = anExp.current();
}
std::ostringstream aStr;
aStr << theName << "_" << theShapeIndex++;
- theResultBody->generated(aSubShape, aStr.str(), theTag++);
+ theResultBody->generated(aSubShape, aStr.str());
}
}