Salome HOME
projects
/
modules
/
geom.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix memory leaks
[modules/geom.git]
/
src
/
GEOMImpl
/
GEOMImpl_ICylinder.hxx
diff --git
a/src/GEOMImpl/GEOMImpl_ICylinder.hxx
b/src/GEOMImpl/GEOMImpl_ICylinder.hxx
index 0955df29c4297699fb39f72cc43a9e455bc1a6cc..0afdf8f0d8d5971d9b6627b093a9d588d1922a11 100644
(file)
--- a/
src/GEOMImpl/GEOMImpl_ICylinder.hxx
+++ b/
src/GEOMImpl/GEOMImpl_ICylinder.hxx
@@
-1,4
+1,4
@@
-// Copyright (C) 2007-201
4
CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-201
5
CEA/DEN, EDF R&D, OPEN CASCADE
//
// Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
//
// Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
@@
-24,14
+24,12
@@
//
#include "GEOM_Function.hxx"
//
#include "GEOM_Function.hxx"
-#define CYL_ARG_
PNT
1
-#define CYL_ARG_
VEC
2
-#define CYL_ARG_
R
3
-#define CYL_ARG_
H
4
+#define CYL_ARG_
R
1
+#define CYL_ARG_
H
2
+#define CYL_ARG_
PNT
3
+#define CYL_ARG_
VEC
4
#define CYL_ARG_A 5
#define CYL_ARG_A 5
-
-
class GEOMImpl_ICylinder
{
public:
class GEOMImpl_ICylinder
{
public:
@@
-45,10
+43,6
@@
class GEOMImpl_ICylinder
void SetH(double theH) { _func->SetReal(CYL_ARG_H, theH); }
double GetH() { return _func->GetReal(CYL_ARG_H); }
void SetH(double theH) { _func->SetReal(CYL_ARG_H, theH); }
double GetH() { return _func->GetReal(CYL_ARG_H); }
-
- void SetA(double theA) { _func->SetReal(CYL_ARG_A, theA); }
-
- double GetA() { return _func->GetReal(CYL_ARG_A); }
void SetPoint(Handle(GEOM_Function) theRefPoint) { _func->SetReference(CYL_ARG_PNT, theRefPoint); }
void SetPoint(Handle(GEOM_Function) theRefPoint) { _func->SetReference(CYL_ARG_PNT, theRefPoint); }
@@
-57,6
+51,10
@@
class GEOMImpl_ICylinder
void SetVector(Handle(GEOM_Function) theRefVector) { _func->SetReference(CYL_ARG_VEC, theRefVector); }
Handle(GEOM_Function) GetVector() { return _func->GetReference(CYL_ARG_VEC); }
void SetVector(Handle(GEOM_Function) theRefVector) { _func->SetReference(CYL_ARG_VEC, theRefVector); }
Handle(GEOM_Function) GetVector() { return _func->GetReference(CYL_ARG_VEC); }
+
+ void SetA(double theA) { _func->SetReal(CYL_ARG_A, theA); }
+
+ double GetA() { return _func->GetReal(CYL_ARG_A); }
private:
private: