ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/REPOS_ERICCA/magic/lib/mtu/src/pir_point.cpp
Revision: 1158
Committed: Thu Jun 13 22:18:49 2024 UTC (11 months, 1 week ago) by francois
File size: 1635 byte(s)
Log Message:
compatibilité Ubuntu 22.04
Suppression des refeences à Windows
Ajout d'une banière

File Contents

# User Rev Content
1 francois 1158 //####//------------------------------------------------------------
2     //####//------------------------------------------------------------
3     //####// MAGiC
4     //####// Jean Christophe Cuilliere et Vincent FRANCOIS
5     //####// Departement de Genie Mecanique - UQTR
6     //####//------------------------------------------------------------
7     //####// MAGIC est un projet de recherche de l equipe ERICCA
8     //####// du departement de genie mecanique de l Universite du Quebec a Trois Rivieres
9     //####// http://www.uqtr.ca/ericca
10     //####// http://www.uqtr.ca/
11     //####//------------------------------------------------------------
12     //####//------------------------------------------------------------
13     //####//
14     //####// pir_point.cpp
15     //####//
16     //####//------------------------------------------------------------
17     //####//------------------------------------------------------------
18     //####// COPYRIGHT 2000-2024
19     //####// jeu 13 jun 2024 11:58:53 EDT
20     //####//------------------------------------------------------------
21     //####//------------------------------------------------------------
22 francois 283
23    
24     #include "gestionversion.h"
25    
26     #ifdef BREP_PIRATE
27    
28     #include "pir_point.h"
29    
30    
31    
32    
33    
34     PIR_POINT::PIR_POINT(unsigned long num,PG_POINT *pt):MG_POINT(num),point(pt)
35     {
36     }
37    
38     PIR_POINT::PIR_POINT(PG_POINT *pt):MG_POINT(),point(pt)
39     {
40     }
41    
42     PIR_POINT::PIR_POINT(PIR_POINT& mdd):MG_POINT(mdd),point(mdd.point)
43     {
44     }
45    
46    
47    
48     PIR_POINT::~PIR_POINT()
49     {
50     }
51    
52    
53    
54    
55     void PIR_POINT::evaluer(double *xyz)
56     {
57     point->evaluer(NULL,xyz);
58     }
59    
60 francois 763 void PIR_POINT::enregistrer(std::ostream& o,double version)
61 francois 283 {
62     o << "%" << get_id() << "=POINT_PIRATE("<< point->get_id()<< ");" << std::endl;
63     }
64     #endif
65    
66    
67