Salome HOME
Updated copyright comment
[modules/hexablock.git] / src / HEXABLOCK / HexHexa.hxx
old mode 100755 (executable)
new mode 100644 (file)
index 5b3895f..735e1c1
@@ -1,12 +1,12 @@
 
 // class : Les hexaedres
 
-// Copyright (C) 2009-2013  CEA/DEN, EDF R&D
+// Copyright (C) 2009-2024  CEA, EDF
 //
 // 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
@@ -50,7 +50,7 @@
 
 BEGIN_NAMESPACE_HEXA
 
-class Hexa : public EltBase
+class HexaExport Hexa : public EltBase
 {
 public:
     virtual Quad*   getQuad   (int  nro);
@@ -115,8 +115,11 @@ public:
     virtual void   duplicate ();
     Hexa* getClone ()               {  return h_clone ; }
     Quad*   getOpposedQuad   (Quad* face);
-    // Vertex* getOpposedVertex (Quad* face, Vertex* vertex);
-    Edge* getPerpendicularEdge (Quad* face, Vertex* vertex);
+    Vertex* opposedVertex     (Quad* face, Vertex* vertex);
+    Edge*   perpendicularEdge (Quad* face, Vertex* vertex);
+    Quad*   perpendicularQuad (Quad* face, Edge* edge);
+    Edge*   getPerpendicularEdge (Quad* face, Vertex* vertex)
+          { return perpendicularEdge (face, vertex); }
     // Edge* getParallelEdge      (Quad* face, Edge*   edge);
     Quad* findQuad             (Edge* e1, Edge* e2);
     Edge* findEdge             (Vertex* v1, Vertex* v2);