1 //NOTE: This is an intreface to a function for the Arc creation.
4 #include "GEOM_Function.hxx"
14 GEOMImpl_IArc(Handle(GEOM_Function) theFunction): _func(theFunction) {}
16 void SetPoint1(Handle(GEOM_Function) theP) { _func->SetReference(ARC_ARG_PI, theP); }
17 void SetPoint2(Handle(GEOM_Function) theP) { _func->SetReference(ARC_ARG_PC, theP); }
18 void SetPoint3(Handle(GEOM_Function) theP) { _func->SetReference(ARC_ARG_PE, theP); }
20 Handle(GEOM_Function) GetPoint1() { return _func->GetReference(ARC_ARG_PI); }
21 Handle(GEOM_Function) GetPoint2() { return _func->GetReference(ARC_ARG_PC); }
22 Handle(GEOM_Function) GetPoint3() { return _func->GetReference(ARC_ARG_PE); }
26 Handle(GEOM_Function) _func;