1 |
|
5 |
//------------------------------------------------------------
|
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 |
|
|
// acis_point.h
|
16 |
|
|
//
|
17 |
|
|
//------------------------------------------------------------
|
18 |
|
|
//------------------------------------------------------------
|
19 |
|
|
// COPYRIGHT 2000
|
20 |
|
|
// Version du 02/03/2006 à 11H22
|
21 |
|
|
//------------------------------------------------------------
|
22 |
|
|
//------------------------------------------------------------
|
23 |
|
|
#ifdef BREP_SAT
|
24 |
|
|
|
25 |
|
|
#ifndef __ACISPOINT
|
26 |
|
|
#define __ACISPOINT
|
27 |
|
|
|
28 |
|
|
#ifdef WINDOWS_VERSION
|
29 |
|
|
#ifdef BUILT_DLL_GEOMETRIE
|
30 |
|
|
#define DLLPORTGEOMETRIE __declspec(dllexport)
|
31 |
|
|
#else
|
32 |
|
|
#define DLLPORTGEOMETRIE __declspec(dllimport)
|
33 |
|
|
#endif
|
34 |
|
|
#else
|
35 |
|
|
#define DLLPORTGEOMETRIE
|
36 |
|
|
#endif
|
37 |
|
|
|
38 |
|
|
|
39 |
|
|
#include "mg_point.h"
|
40 |
|
|
#include "sat_point.h"
|
41 |
|
|
|
42 |
|
|
class DLLPORTGEOMETRIE ACIS_POINT:public MG_POINT
|
43 |
|
|
{
|
44 |
|
|
public:
|
45 |
|
|
ACIS_POINT(unsigned long num,SAT_POINT *pt);
|
46 |
|
|
ACIS_POINT(SAT_POINT *pt);
|
47 |
|
|
ACIS_POINT(ACIS_POINT& mdd);
|
48 |
|
|
virtual ~ACIS_POINT();
|
49 |
|
|
virtual void evaluer(double *xyz);
|
50 |
|
|
virtual void enregistrer(std::ostream& o);
|
51 |
|
|
|
52 |
|
|
virtual int get_type_geometrique(TPL_LISTE_ENTITE<double> ¶m);
|
53 |
francois |
19 |
virtual void get_param_NURBS(int& indx_premier_ptctr,TPL_LISTE_ENTITE<double> ¶m);
|
54 |
|
5 |
|
55 |
|
|
private:
|
56 |
|
|
SAT_POINT *point;
|
57 |
|
|
|
58 |
|
|
|
59 |
|
|
|
60 |
|
|
};
|
61 |
|
|
|
62 |
|
|
|
63 |
|
|
|
64 |
|
|
|
65 |
|
|
|
66 |
|
|
#endif
|
67 |
|
|
#endif
|
68 |
|
|
|
69 |
|
|
|