1 //NOTE: This is an intreface to a function for the Spline creation.
4 #include "GEOM_Function.hxx"
13 GEOMImpl_ISpline(Handle(GEOM_Function) theFunction): _func(theFunction) {}
15 void SetLength(int theLen) { _func->SetInteger(SPL_ARG_LENG, theLen); }
17 void SetPoint(int theId, Handle(GEOM_Function) theP) { _func->SetReference(SPL_ARG_LAST + theId, theP); }
19 int GetLength() { return _func->GetInteger(SPL_ARG_LENG); }
21 Handle(GEOM_Function) GetPoint(int theId) { return _func->GetReference(SPL_ARG_LAST + theId); }
25 Handle(GEOM_Function) _func;