1 |
francois |
283 |
//------------------------------------------------------------ |
2 |
|
|
//------------------------------------------------------------ |
3 |
|
|
// MAGiC |
4 |
|
|
// Jean Christophe Cuilli�re et Vincent FRANCOIS |
5 |
|
|
// D�partement de G�nie M�canique - UQTR |
6 |
|
|
//------------------------------------------------------------ |
7 |
|
|
// Le projet MAGIC est un projet de recherche du d�partement |
8 |
|
|
// de g�nie m�canique de l'Universit� du Qu�bec � |
9 |
|
|
// Trois Rivi�res |
10 |
|
|
// Les librairies ne peuvent �tre utilis�es sans l'accord |
11 |
|
|
// des auteurs (contact : francois@uqtr.ca) |
12 |
|
|
//------------------------------------------------------------ |
13 |
|
|
//------------------------------------------------------------ |
14 |
|
|
// |
15 |
|
|
// lc_point.h |
16 |
|
|
// |
17 |
|
|
//------------------------------------------------------------ |
18 |
|
|
//------------------------------------------------------------ |
19 |
|
|
// COPYRIGHT 2000 |
20 |
|
|
// Version du 02/03/2006 � 11H22 |
21 |
|
|
//------------------------------------------------------------ |
22 |
|
|
//------------------------------------------------------------ |
23 |
|
|
#ifndef __LCPOINT_ |
24 |
|
|
#define __LCPOINT_ |
25 |
|
|
|
26 |
|
|
#ifdef WINDOWS_VERSION |
27 |
|
|
#ifdef BUILT_DLL_GEOMETRIE |
28 |
|
|
#define DLLPORTGEOMETRIE __declspec(dllexport) |
29 |
|
|
#else |
30 |
|
|
#define DLLPORTGEOMETRIE __declspec(dllimport) |
31 |
|
|
#endif |
32 |
|
|
#else |
33 |
|
|
#define DLLPORTGEOMETRIE |
34 |
|
|
#endif |
35 |
|
|
|
36 |
|
|
|
37 |
|
|
#include "mg_point.h" |
38 |
|
|
|
39 |
|
|
class DLLPORTGEOMETRIE LC_POINT:public MG_POINT |
40 |
|
|
{ |
41 |
|
|
public: |
42 |
|
|
LC_POINT(unsigned long num,double coo[3]); |
43 |
|
|
LC_POINT(double coo[3]); |
44 |
francois |
576 |
LC_POINT(double x,double y,double z); |
45 |
francois |
283 |
LC_POINT(LC_POINT& mdd); |
46 |
|
|
virtual ~LC_POINT(); |
47 |
|
|
virtual void evaluer(double *xyz); |
48 |
|
|
virtual void enregistrer(std::ostream& o); |
49 |
|
|
virtual int get_type_geometrique(TPL_LISTE_ENTITE<double> ¶m); |
50 |
|
|
virtual void get_param_NURBS(int& indx_premier_ptctr,TPL_LISTE_ENTITE<double> ¶m) ; |
51 |
|
|
private: |
52 |
|
|
const double x; |
53 |
|
|
const double y; |
54 |
|
|
const double z; |
55 |
|
|
|
56 |
|
|
|
57 |
|
|
|
58 |
|
|
}; |
59 |
|
|
|
60 |
|
|
|
61 |
|
|
|
62 |
|
|
|
63 |
|
|
|
64 |
|
|
#endif |
65 |
|
|
|
66 |
|
|
|
67 |
|
|
|