]> SALOME platform Git repositories - modules/hexablock.git/blob - src/HEXABLOCK/HexPipe.hxx
Salome HOME
Merge from V6_main 01/04/2013
[modules/hexablock.git] / src / HEXABLOCK / HexPipe.hxx
1 // Copyright (C) 2009-2013  CEA/DEN, EDF R&D
2 //
3 // This library is free software; you can redistribute it and/or
4 // modify it under the terms of the GNU Lesser General Public
5 // License as published by the Free Software Foundation; either
6 // version 2.1 of the License.
7 //
8 // This library is distributed in the hope that it will be useful,
9 // but WITHOUT ANY WARRANTY; without even the implied warranty of
10 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
11 // Lesser General Public License for more details.
12 //
13 // You should have received a copy of the GNU Lesser General Public
14 // License along with this library; if not, write to the Free Software
15 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
16 //
17 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
18 //
19
20 // class : Les tuyaux (de pipe ...)
21
22 #ifndef __PIPE_H
23 #define __PIPE_H
24
25 #include "HexCylinder.hxx"
26
27 BEGIN_NAMESPACE_HEXA
28
29 class Pipe : public Cylinder 
30 {
31 public :
32     virtual double  getInternalRadius () { return c_int_radius; }
33
34 public :
35     Pipe (Vertex* b, Vector* v, double ri, double re, double h);
36     virtual ~Pipe () {}
37     void saveXml (XmlWriter* xml);
38
39 private:
40     double c_int_radius;
41 };
42
43 // ------------------------------------------- Inlining
44
45 END_NAMESPACE_HEXA
46 #endif