X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FSketchAPI%2FSketchAPI_Projection.h;h=e3870de4eb87a3a83d49a36b66a784438ab0f7e3;hb=f68074b0f3e013e10a9d06016ceac84827a5cdc2;hp=59508e767a1fea46bf378ffd159d97264777a9d1;hpb=d34842c50d5f335cca443c78910c16c54139c7d0;p=modules%2Fshaper.git diff --git a/src/SketchAPI/SketchAPI_Projection.h b/src/SketchAPI/SketchAPI_Projection.h index 59508e767..e3870de4e 100644 --- a/src/SketchAPI/SketchAPI_Projection.h +++ b/src/SketchAPI/SketchAPI_Projection.h @@ -1,5 +1,6 @@ +// Copyright (C) 2014-20xx CEA/DEN, EDF R&D // Name : SketchAPI_Projection.h -// Purpose: +// Purpose: // // History: // 16/06/16 - Sergey POKHODENKO - Creation of the file @@ -39,9 +40,12 @@ public: virtual ~SketchAPI_Projection(); INTERFACE_3(SketchPlugin_Projection::ID(), - externalFeature, SketchPlugin_Projection::EXTERNAL_FEATURE_ID(), ModelAPI_AttributeSelection, /** External feature */, - projectedFeature, SketchPlugin_Projection::PROJECTED_FEATURE_ID(), ModelAPI_AttributeRefAttr, /** Projected feature */, - external, SketchPlugin_Projection::EXTERNAL_ID(), ModelAPI_AttributeSelection, /** External */ + externalFeature, SketchPlugin_Projection::EXTERNAL_FEATURE_ID(), + ModelAPI_AttributeSelection, /** External feature */, + projectedFeature, SketchPlugin_Projection::PROJECTED_FEATURE_ID(), + ModelAPI_AttributeRefAttr, /** Projected feature */, + external, SketchPlugin_Projection::EXTERNAL_ID(), + ModelAPI_AttributeSelection, /** External */ ) /// Set external feature @@ -52,6 +56,10 @@ public: SKETCHAPI_EXPORT void setByExternalName(const std::string & theExternalName); + /// Returns created feature + SKETCHAPI_EXPORT + std::shared_ptr createdFeature() const; + /// Dump wrapped feature SKETCHAPI_EXPORT virtual void dump(ModelHighAPI_Dumper& theDumper) const;