Salome HOME
Switch development flag to 1
[modules/hexablock.git] / src / HEXABLOCK / HexBiCylinderShape.cxx
index 7b857c423be38cef9ed7c3f23f98dd54109c08e5..79c798f04033ceb426daf44f98f14b3aa09a0af2 100755 (executable)
@@ -1,12 +1,12 @@
 //
 // CC++ : Interface Cascade de la classe Elements
 //
-// Copyright (C) 2009-2012  CEA/DEN, EDF R&D
+// Copyright (C) 2009-2016  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
 // License as published by the Free Software Foundation; either
-// version 2.1 of the License.
+// version 2.1 of the License, or (at your option) any later version.
 //
 // This library is distributed in the hope that it will be useful,
 // but WITHOUT ANY WARRANTY; without even the implied warranty of
 // License along with this library; if not, write to the Free Software
 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 //
-// See http://www.salome-platform.org/
-// or email : webmaster.salome@opencascade.com
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
-//--+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8
 
 #include "HexBiCylinderShape.hxx"
 
 #include "HexVertex.hxx"
 #include "HexEdge.hxx"
 
-#ifndef NO_CASCADE
                                     // Cylindre
-#include <GEOMImpl_CylinderDriver.hxx>
-#include <GEOMImpl_ICylinder.hxx>
 #include <BRepPrimAPI_MakeCylinder.hxx>
 #include <BRepAlgoAPI_Section.hxx>
 
@@ -214,8 +209,8 @@ int BiCylinderShape::associate (Edge* edge)
 }
 // ====================================================== associate
 // ==== On suppose une orientation correcte
-int BiCylinderShape::associate (Edge* edge, EdgeShape* line, double para1,
-                                double para2, int extrem)
+int BiCylinderShape::associate (Edge* edge, EdgeShape* line, 
+                                double para1, double para2, int extrem)
 {
    edge->addAssociation (line, para1, para2);
 
@@ -238,4 +233,3 @@ int BiCylinderShape::associate (Edge* edge, EdgeShape* line, double para1,
       }
 }
 END_NAMESPACE_HEXA
-#endif