/** \class FeaturesPlugin_CompositeSketch
* \ingroup Plugins
+ * \brief Interface for the composite sketch feature.
*/
class FeaturesPlugin_CompositeSketch : public ModelAPI_CompositeFeature
{
return MY_SKETCH_OBJECT_ID;
}
- /// Attribute name of sketch feature.
+ /// Attribute name of sketch feature selection: needed for naming of the selected sketch.
inline static const std::string& SKETCH_SELECTION_ID()
{
static const std::string MY_SKETCH_SELECTION_ID("sketch_selection");
/// \return the sub-feature unique identifier in this composite feature by zero-base index.
FEATURESPLUGIN_EXPORT virtual int subFeatureId(const int theIndex) const;
- /// \return true if feature or reuslt belong to this composite feature as subs.
+ /// \return true if feature or result belong to this composite feature as subs.
FEATURESPLUGIN_EXPORT virtual bool isSub(ObjectPtr theObject) const;
/// This method to inform that sub-feature is removed and must be removed from the internal data
/// Define this function to create solids from faces with extrusion/revolution.
virtual void makeSolid(const std::shared_ptr<GeomAPI_Shape> theFace,
- std::shared_ptr<GeomAPI_Shape>& theResult,
- ListOfShape& theFromFaces,
- ListOfShape& theToFaces,
- std::shared_ptr<GeomAlgoAPI_MakeShape>& theMakeShape,
- std::shared_ptr<GeomAPI_DataMapOfShapeShape>& theDataMap) = 0;
+ std::shared_ptr<GeomAlgoAPI_MakeShape>& theMakeShape) = 0;
+ /// Results naming.
void loadNamingDS(std::shared_ptr<ModelAPI_ResultBody> theResultBody,
const std::shared_ptr<GeomAPI_Shape>& theBaseShape,
- const std::shared_ptr<GeomAPI_Shape>& theResult,
- const ListOfShape& theFromFaces,
- const ListOfShape& theToFaces,
- const std::shared_ptr<GeomAlgoAPI_MakeShape>& theMakeShape,
- const std::shared_ptr<GeomAPI_DataMapOfShapeShape>& theDataMap);
+ const std::shared_ptr<GeomAlgoAPI_MakeShape>& theMakeShape);
};
#endif