SHAPER  9.12.0
ModelAPI_FeatureCopyInterface Class Referenceabstract

An interface for performing special copy actions. More...

Inheritance diagram for ModelAPI_FeatureCopyInterface:
Inheritance graph

Public Member Functions

virtual void getCopies (ObjectPtr theContext, std::shared_ptr< GeomAPI_Shape > theValue, std::list< ObjectPtr > &theCopyContext, std::list< std::shared_ptr< GeomAPI_Shape > > &theCopyVals)=0
 An algorithm to update the moved feature by the separate Copy feature. More...
 

Detailed Description

An interface for performing special copy actions.

To give feature which is moved (a group) over this feature.

Member Function Documentation

◆ getCopies()

virtual void ModelAPI_FeatureCopyInterface::getCopies ( ObjectPtr  theContext,
std::shared_ptr< GeomAPI_Shape theValue,
std::list< ObjectPtr > &  theCopyContext,
std::list< std::shared_ptr< GeomAPI_Shape > > &  theCopyVals 
)
pure virtual

An algorithm to update the moved feature by the separate Copy feature.

Parameters
theContextthe original context object
theValuethe original shape
theCopiesresulting copy-context will be appended here

Implemented in FeaturesPlugin_Copy.