Salome HOME
projects
/
modules
/
shaper.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Restore deflection management
[modules/shaper.git]
/
src
/
FeaturesAPI
/
FeaturesAPI_Revolution.cpp
diff --git
a/src/FeaturesAPI/FeaturesAPI_Revolution.cpp
b/src/FeaturesAPI/FeaturesAPI_Revolution.cpp
index 47a1ffc226e9decc5986c39795a4df84fb4624c1..a685523e0ed125f56a7424ed9f601dca55f46cf0 100644
(file)
--- a/
src/FeaturesAPI/FeaturesAPI_Revolution.cpp
+++ b/
src/FeaturesAPI/FeaturesAPI_Revolution.cpp
@@
-1,4
+1,4
@@
-// Copyright (C) 2014-201
7
CEA/DEN, EDF R&D
+// Copyright (C) 2014-201
9
CEA/DEN, EDF R&D
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
@@
-12,10
+12,9
@@
//
// You should have received a copy of the GNU Lesser General Public
// License along with this library; if not, write to the Free Software
//
// You should have received a copy of the GNU Lesser General Public
// License along with this library; if not, write to the Free Software
-// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
02111-1307 USA
//
//
-// See http://www.salome-platform.org/ or
-// email : webmaster.salome@opencascade.com<mailto:webmaster.salome@opencascade.com>
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
//
#include "FeaturesAPI_Revolution.h"
//
#include "FeaturesAPI_Revolution.h"
@@
-139,11
+138,7
@@
void FeaturesAPI_Revolution::setAngles(const ModelHighAPI_Double& theToAngle,
//==================================================================================================
void FeaturesAPI_Revolution::setAngle(const ModelHighAPI_Double& theAngle)
{
//==================================================================================================
void FeaturesAPI_Revolution::setAngle(const ModelHighAPI_Double& theAngle)
{
- fillAttribute(FeaturesPlugin_Revolution::CREATION_METHOD_BY_ANGLES(), mycreationMethod);
- fillAttribute(theAngle, mytoAngle);
- fillAttribute(ModelHighAPI_Double(), myfromAngle);
-
- execIfBaseNotEmpty();
+ setAngles(theAngle, ModelHighAPI_Double());
}
//==================================================================================================
}
//==================================================================================================