GTXclient C++ API  GTXserver-17.0.3
GTXFaultSegment.hpp
1 /*****************************************************************************
2 
3  Copyright (c)2007 Geovariances, Avon, France.
4 
5  In consideration of payment of the license fee, which is a part of
6  the price you paid for this product, Geovariances (GV) as licensor,
7  grants you, the licensee, a non-exclusive right to use this copy of a
8  GV software product.
9  GV reserves all rights not expressly granted to licensee. GV retains
10  titleship and ownership of software. This license is not a sale of
11  the original software or any copy. GV also retains titleship and
12  ownership of any modifications or derivations of this software. Any
13  modifications of this software must be clearly marked as such. This
14  copyright message must appear in its entirety in this software, or
15  any modifications or derivations thereof.
16 
17  Geovariances welcomes any comments, suggestions, bug reports, etc. At
18  the discretion of Geovariances, any customer supplied bug fixes,
19  enhancements, or utility codes will be distributed in future software
20  releases (the contributor will of course be credited).
21 
22  Geovariances
23  49bis, Avenue Franklin Roosevelt
24  77210 Avon, FRANCE
25 
26  Phone: +33-(0)-160.749.100
27  Fax: +33-(0)-164.228.728
28  e-mail: support@geovariances.fr
29 
30  All Rights Reserved
31 
32 *****************************************************************************/
33 
34 #ifndef __GTXFaultSegment_hpp__
35 #define __GTXFaultSegment_hpp__
36 
37 #define __USING_GTXSERVER_CPP_API__
38 
39 #ifdef DOXYGEN
40 #define SWIG_OR_DOXYGEN
41 #endif //DOXYGEN
42 
43 #ifdef SWIG
44 #define GLOBAL_CLASS
45 #define SWIG_OR_DOXYGEN
46 #else //SWIG
47 #include <GTXClient.h>
48 #endif //SWIG
49 
50 
51 
55 class GLOBAL_CLASS GTXFaultSegment
56 {
57 public:
59  GTXFaultSegment(const GTXFaultSegment &fseg);
60 #ifndef SWIG
61  GTXFaultSegment operator=(const GTXFaultSegment &fseg);
62 #endif
63  ~GTXFaultSegment();
64  double GetX1()const;
65  double GetY1()const;
66  double GetZ1()const;
67  double GetX2()const;
68  double GetY2()const;
69  double GetZ2()const;
70  double GetX3()const;
71  double GetY3()const;
72  double GetZ3()const;
73  double GetV1()const;
74  double GetV2()const;
75  double GetV3()const;
76  int GetPriority()const;
77 
78  void SetX1(double X1);
79  void SetY1(double Y1);
80  void SetZ1(double Z1);
81  void SetX2(double X2);
82  void SetY2(double Y2);
83  void SetZ2(double Z2);
84  void SetX3(double X3);
85  void SetY3(double Y3);
86  void SetZ3(double Z3);
87  void SetV1(double V1);
88  void SetV2(double V2);
89  void SetV3(double V3);
90  void SetPriority(int priority);
91 
92 
93 private:
94  GTXFaultSegment_C *_fseg;
95 
96  friend class GTXClient;
97  friend class GTXFault;
98 };
99 
100 #endif // __GTXFaultSegment_hpp__