]> SALOME platform Git repositories - modules/hexablock.git/blob - src/HEXABLOCK/HexShape.cxx
Salome HOME
First publish of HEXABLOCKcomponant
[modules/hexablock.git] / src / HEXABLOCK / HexShape.cxx
1
2 // C++ : Gestion des noeuds
3
4 #include "HexShape.hxx"
5
6 BEGIN_NAMESPACE_HEXA
7
8 // int Shape::nbr_shapes = 0;
9
10 // ====================================================== Constructeur
11 Shape::Shape  (string brep)
12 {
13    b_rep = brep;
14    debut = 0;
15    fin   = 1;
16
17    // nbr_shapes++;
18    // nro_shape = nbr_shapes;
19 }
20
21 // ========================================================= getName 
22 /***************************************************
23 char* Shape::getName  (char* buffer)
24 {
25    sprintf (buffer, "Shape0x%04d", nro_shape);
26    return   buffer;
27 }
28   *************************************************** */
29 END_NAMESPACE_HEXA