MAGiC  V5.0
Mailleurs Automatiques de Géometries intégrés à la Cao
pir_point.cpp
Aller à la documentation de ce fichier.
1 //####//------------------------------------------------------------
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 
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 void PIR_POINT::enregistrer(std::ostream& o,double version)
61 {
62  o << "%" << get_id() << "=POINT_PIRATE("<< point->get_id()<< ");" << std::endl;
63 }
64 #endif
65 
66 
67 
virtual void evaluer(double *xyz)=0