1 // NOTE: This is an interface to a function for the Glueing of faces
4 #include "GEOM_Function.hxx"
6 #define GLUE_ARG_BASE 1
7 #define GLUE_ARG_TOLER 2
13 GEOMImpl_IGlue(Handle(GEOM_Function) theFunction): _func(theFunction) {}
15 void SetBase(Handle(GEOM_Function) theRefBase)
16 { _func->SetReference(GLUE_ARG_BASE, theRefBase); }
18 Handle(GEOM_Function) GetBase() { return _func->GetReference(GLUE_ARG_BASE); }
20 void SetTolerance(const Standard_Real theTolerance)
21 { _func->SetReal(GLUE_ARG_TOLER, theTolerance); }
23 Standard_Real GetTolerance() { return _func->GetReal(GLUE_ARG_TOLER); }
27 Handle(GEOM_Function) _func;