ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/REPOS_ERICCA/magic/poly_occ/src/poly_face.cpp
Revision: 1036
Committed: Fri Dec 20 21:16:11 2019 UTC (5 years, 8 months ago) by francois
File size: 571 byte(s)
Log Message:
Etat des polycristaux a ce jour + outil de maillage 

File Contents

# User Rev Content
1 francois 979 #include "poly_face.h"
2    
3     Poly_Face::Poly_Face()
4     {
5     }
6    
7     Poly_Face::Poly_Face(std::vector< int > noeuds):list_noeud(noeuds)
8     {
9     }
10    
11     Poly_Face::Poly_Face(Poly_Face& mdd): list_noeud(mdd.list_noeud)
12     {
13     }
14    
15     Poly_Face::~Poly_Face()
16     {
17     }
18    
19     int Poly_Face::get_noeud(int num){ return list_noeud[num]; }
20     int Poly_Face::get_last_noeud(void){ return list_noeud.back(); }
21     void Poly_Face::add_noeud(int numNoeud){ list_noeud.push_back(numNoeud); }
22     int Poly_Face::get_nb_noeud(void){ return list_noeud.size(); }
23 francois 1036 void Poly_Face::supprimer_noeud(int num){list_noeud.erase(list_noeud.begin()+num);}