ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/REPOS_ERICCA/magic/poly_occ/src/poly_point.cpp
Revision: 1019
Committed: Tue Jun 4 21:16:50 2019 UTC (5 years, 11 months ago) by francois
File size: 511 byte(s)
Log Message:
restructuration de magic
outil est sorti de lib pour pouvoir etre utiliser en dehors de lib
template est merge avec outil
poly_occ et un sous projet de magic qui utilise le nouveau outil

File Contents

# User Rev Content
1 francois 979 #include "poly_point.h"
2    
3     Poly_Point::Poly_Point(double xx, double yy, double zz):x(xx), y(yy), z(zz)
4     {
5     }
6    
7     Poly_Point::Poly_Point(Poly_Point& mdd): x(mdd.x), y(mdd.y), z(mdd.z)
8     {
9     }
10    
11     Poly_Point::~Poly_Point()
12     {
13     }
14    
15     //
16     // GET
17     //
18     double Poly_Point::get_x(void){ return x; }
19     double Poly_Point::get_y(void){ return y; }
20     double Poly_Point::get_z(void){ return z; }
21    
22     //
23     // SET
24     //
25     void Poly_Point::set_x(double val){ x = val; }
26     void Poly_Point::set_y(double val){ y = val; }
27     void Poly_Point::set_z(double val){ z = val; }