]> SALOME platform Git repositories - modules/geom.git/blob - src/GEOMImpl/GEOMImpl_ICopy.hxx
Salome HOME
if a shape to be rotated is a vertex, and it is located ON the Revolution Axis, then...
[modules/geom.git] / src / GEOMImpl / GEOMImpl_ICopy.hxx
1 //NOTE: This is an intreface to a function for the Copy operation.
2
3
4 #include "GEOM_Function.hxx"
5
6 #define COPY_ARG_REF  1
7
8 class GEOMImpl_ICopy
9 {
10  public:
11
12   GEOMImpl_ICopy(Handle(GEOM_Function) theFunction): _func(theFunction) {}
13
14   void SetOriginal(Handle(GEOM_Function) theOriginal) { _func->SetReference(COPY_ARG_REF, theOriginal); }
15
16   Handle(GEOM_Function) GetOriginal() { return _func->GetReference(COPY_ARG_REF); }
17
18  private:
19
20   Handle(GEOM_Function) _func;
21 };