Flow123d  jenkins-Flow123d-windows32-release-multijob-51
plain.h
Go to the documentation of this file.
1 #ifndef plainH
2 #define plainH
3 
4 #include "myvector.h"
5 #include "point.h"
6 
7 class TPlain {
8 private:
9  static int numberInstance;
10  int id;
11 
15 
16  double a;
17  double b;
18  double c;
19  double d;
20 
22 
23  int generateId();
24 
25  void Compute();
26 
27 public:
28  TPlain();
29  TPlain(const TVector&, const TVector&, const TPoint&);
30  TPlain(const TPoint&, const TPoint&, const TPoint&);
31  TPlain(const TPlain&);
32  ~TPlain();
33 
34  const TPoint &GetPoint() const;
35  TPoint GetPoint(double, double) const;
36  const TVector &GetNormal() const;
37  const TVector &GetU() const;
38  const TVector &GetV() const;
39  double GetA() const;
40  double GetB() const;
41  double GetC() const;
42  double GetD() const;
43  bool Belong(const TPoint&) const;
44  void SetPoints(const TPoint&, const TPoint&, const TPoint&);
45 
46  TPlain & operator =(const TPlain&);
47 
48  static int getNumInstances() {
50  }
51 };
52 
53 #endif
double GetA() const
Definition: plain.cpp:81
static int numberInstance
Definition: plain.h:9
double a
Definition: plain.h:16
const TPoint & GetPoint() const
Definition: plain.cpp:109
double b
Definition: plain.h:17
double d
Definition: plain.h:19
double GetC() const
Definition: plain.cpp:89
void SetPoints(const TPoint &, const TPoint &, const TPoint &)
Definition: plain.cpp:137
TPoint * X
Definition: plain.h:21
Definition: plain.h:7
int generateId()
Definition: plain.cpp:9
TVector * V
Definition: plain.h:13
static int getNumInstances()
Definition: plain.h:48
TPlain()
Definition: plain.cpp:13
const TVector & GetU() const
Definition: plain.cpp:101
Definition: point.h:10
double c
Definition: plain.h:18
double GetB() const
Definition: plain.cpp:85
const TVector & GetV() const
Definition: plain.cpp:105
void Compute()
Definition: plain.cpp:65
bool Belong(const TPoint &) const
Definition: plain.cpp:119
TVector * U
Definition: plain.h:12
int id
Definition: plain.h:10
TVector * N
Definition: plain.h:14
TPlain & operator=(const TPlain &)
Definition: plain.cpp:125
const TVector & GetNormal() const
Definition: plain.cpp:97
double GetD() const
Definition: plain.cpp:93
~TPlain()
Definition: plain.cpp:74