X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FGEOMImpl%2FGEOMImpl_IChamfer.hxx;fp=src%2FGEOMImpl%2FGEOMImpl_IChamfer.hxx;h=17f7e5afcd793e4e67bace07bdca3dadafadeefd;hb=239f8109c64fa0c5a2e1d87a420bad5529b57f48;hp=6c12fd184867fda749365eb6f75c26d144eef303;hpb=1c428833a92f545d3485fdc00e6873be75904df5;p=modules%2Fgeom.git diff --git a/src/GEOMImpl/GEOMImpl_IChamfer.hxx b/src/GEOMImpl/GEOMImpl_IChamfer.hxx index 6c12fd184..17f7e5afc 100644 --- a/src/GEOMImpl/GEOMImpl_IChamfer.hxx +++ b/src/GEOMImpl/GEOMImpl_IChamfer.hxx @@ -22,11 +22,12 @@ #include "GEOM_Function.hxx" -#define CHAM_ARG_SH 1 -#define CHAM_ARG_D1 2 -#define CHAM_ARG_D2 3 -#define CHAM_ARG_LENG 4 -#define CHAM_ARG_LAST 4 +#define CHAM_ARG_SH 1 +#define CHAM_ARG_D1 2 +#define CHAM_ARG_D2 3 +#define CHAM_ARG_ANGLE 3 +#define CHAM_ARG_LENG 4 +#define CHAM_ARG_LAST 4 class GEOMImpl_IChamfer { @@ -41,10 +42,12 @@ class GEOMImpl_IChamfer void SetD (double theD) { _func->SetReal(CHAM_ARG_D1, theD); } void SetD1(double theD) { _func->SetReal(CHAM_ARG_D1, theD); } void SetD2(double theD) { _func->SetReal(CHAM_ARG_D2, theD); } + void SetAngle(double theAngle) { _func->SetReal(CHAM_ARG_ANGLE, theAngle); } double GetD () { return _func->GetReal(CHAM_ARG_D1); } double GetD1() { return _func->GetReal(CHAM_ARG_D1); } double GetD2() { return _func->GetReal(CHAM_ARG_D2); } + double GetAngle() { return _func->GetReal(CHAM_ARG_ANGLE); } void SetLength(int theLen) { _func->SetInteger(CHAM_ARG_LENG, theLen); } @@ -56,10 +59,13 @@ class GEOMImpl_IChamfer { _func->SetInteger(CHAM_ARG_LAST + 1, theFace); } void SetFace2(int theFace) { _func->SetInteger(CHAM_ARG_LAST + 2, theFace); } + void SetEdge(int theInd, int theEdge) + { _func->SetInteger(CHAM_ARG_LAST + theInd, theEdge); } int GetFace(int theInd) { return _func->GetInteger(CHAM_ARG_LAST + theInd); } int GetFace1() { return _func->GetInteger(CHAM_ARG_LAST + 1); } int GetFace2() { return _func->GetInteger(CHAM_ARG_LAST + 2); } + int GetEdge(int theInd) { return _func->GetInteger(CHAM_ARG_LAST + theInd); } private: