1 //NOTE: This is an intreface to a function for the Sphere creation.
4 #include "GEOM_Function.hxx"
13 GEOMImpl_ISphere(Handle(GEOM_Function) theFunction): _func(theFunction) {}
15 void SetR(double theR) { _func->SetReal(SPH_ARG_R, theR); }
17 double GetR() { return _func->GetReal(SPH_ARG_R); }
19 void SetPoint(Handle(GEOM_Function) theRefPoint) { _func->SetReference(SPH_ARG_PNT, theRefPoint); }
21 Handle(GEOM_Function) GetPoint() { return _func->GetReference(SPH_ARG_PNT); }
25 Handle(GEOM_Function) _func;