]> SALOME platform Git repositories - modules/hexablock.git/blob - src/HEXABLOCK/HexCylinder.hxx
Salome HOME
First publish of HEXABLOCKcomponant
[modules/hexablock.git] / src / HEXABLOCK / HexCylinder.hxx
1
2 // class : Les cylindres
3
4 #ifndef __CYLINDER_H_
5 #define __CYLINDER_H_
6
7 #include "HexEltBase.hxx"
8
9 BEGIN_NAMESPACE_HEXA
10
11 class Cylinder : public EltBase
12 {
13 public :
14     Vertex* getBase ()      { return c_base;   }
15     Vector* getDirection () { return c_dir;    }
16     double  getRadius ()    { return c_radius; }
17     double  getHeight ()    { return c_height; }
18
19 public :
20     Cylinder (Vertex* b, Vector* v, double r, double h);
21     Vertex* interCylinder (Cylinder* other);
22
23 protected:
24     Vertex* c_base;
25     Vector* c_dir;
26
27     double c_radius;
28     double c_height;
29 };
30
31 // ------------------------------------------- Inlining
32
33
34 END_NAMESPACE_HEXA
35 #endif