1 // NOTE: This is an interface to a functions for the Measurement
4 #include "GEOM_Function.hxx"
6 #define MEASURE_ARG_BASE 1
8 class GEOMImpl_IMeasure
12 GEOMImpl_IMeasure(Handle(GEOM_Function) theFunction): _func(theFunction) {}
14 void SetBase(Handle(GEOM_Function) theRefBase)
15 { _func->SetReference(MEASURE_ARG_BASE, theRefBase); }
17 Handle(GEOM_Function) GetBase() { return _func->GetReference(MEASURE_ARG_BASE); }
21 Handle(GEOM_Function) _func;