X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FSketchAPI%2FSketchAPI_Projection.h;h=e3870de4eb87a3a83d49a36b66a784438ab0f7e3;hb=b707e7178424958f7dc1ed87a0aabd813f671d88;hp=b704f3f715d82c34a7574138b8ec9f9108607bd3;hpb=5944daf4fc389aee952abc5ace5a618512684f87;p=modules%2Fshaper.git diff --git a/src/SketchAPI/SketchAPI_Projection.h b/src/SketchAPI/SketchAPI_Projection.h index b704f3f71..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::EXTERNAL_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;