UNIVERS  15.3
UNIVERS base processing software API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
u3d_os.hpp
1 /* u3d_os.hpp */
2 /* $Id: u3d_os.hpp,v 1.6 2007/11/20 15:17:48 guser1 Exp $ */
3 #ifndef __u3d_os_hpp
4 #define __u3d_os_hpp
5 
6 #include <u3d_point.hpp>
7 #include <u3d_bspl3_curve3d.hpp>
8 #include <u3d_model_defines.hpp>
9 
10 //==============================================================================
11 void Transform3D(U3dModAreaPos pos, U3dPoint &p);
12 void Transform3DBack(U3dModAreaPos pos, U3dPoint &p);
13 
14 
15 
17 class U3dObservSys
18 {
19 public:
20 
21  U3dObservSys(U3dPoint sp, U3dPointsAr rec_p, U3dModAreaPos* ma_pos=NULL);
22  ~U3dObservSys();
23 
25  bool getSP(U3dPoint& point);
26 
28  bool getRec(int rec_id, U3dPoint& point);
29 
31  int getRecNum();
32 
35 
36  bool getReady() { return m_ready; }
37 
38  bool getGlobalPos(U3dModAreaPos &pos);
39 
40 private:
41 
42  bool m_ready;
44  U3dPoint m_sp;
46  U3dBspl3Curve3d *m_well;
48  bool m_glogal_position_defined;
50  U3dModAreaPos m_global_position; /*< always in UNIVERS coordinate system */
51 
52 };
53 
54 #endif /* u3d_os.hpp */
Definition: u3d_bspl3_curve3d.hpp:12
Definition: u3d_model_defines.hpp:20
Definition: geometry.H:16
Definition: u3d_point.hpp:16
bool getRec(int rec_id, U3dPoint &point)
Definition: u3d_os.hpp:14
bool getSP(U3dPoint &point)
const U3dBspl3Curve3d * getWellCurve()