Flow123d
abscissa.h
Go to the documentation of this file.
1 #ifndef abscissaH
2 #define abscissaH
3 
4 #include "bisector.h"
5 #include "point.h"
6 #include "mesh/bounding_box.hh"
7 
8 class TAbscissa : public TBisector {
9 private:
10  static int numberInstance;
11  int id;
12 
13 // TPoint* P0;
14 // TPoint* P1;
15 
17 
18  double length;
19 
20  int generateId();
21  void ComputeLength();
22 
23 public:
24  TAbscissa();
25 // TAbscissa(double, double);
26  TAbscissa(const TPoint&, const TPoint&);
27  TAbscissa(const Element&);
28  ~TAbscissa();
29 
30  TAbscissa & operator =(const TAbscissa&);
31 
32  double Length();
34 
35  void SetPoints(const TPoint&, const TPoint&);
36 
37  double GetMin(int) const;
38  double GetMax(int) const;
39 
40  static int getNumInstances() {
42  }
43 };
44 
45 #endif