1 //NOTE: This is an intreface to a function for the Pipe creation.
4 #include "GEOM_Function.hxx"
6 #define PIPE_ARG_BASE 1
7 #define PIPE_ARG_PATH 2
13 GEOMImpl_IPipe(Handle(GEOM_Function) theFunction): _func(theFunction) {}
15 void SetBase (Handle(GEOM_Function) theBase) { _func->SetReference(PIPE_ARG_BASE, theBase); }
16 void SetPath (Handle(GEOM_Function) thePath) { _func->SetReference(PIPE_ARG_PATH, thePath); }
18 Handle(GEOM_Function) GetBase() { return _func->GetReference(PIPE_ARG_BASE); }
19 Handle(GEOM_Function) GetPath() { return _func->GetReference(PIPE_ARG_PATH); }
23 Handle(GEOM_Function) _func;