Flow123d  jenkins-Flow123d-linux-release-multijob-198
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 
14 
15  double length;
16 
17  int generateId();
18  void ComputeLength();
19 
20 public:
21  TAbscissa();
22  TAbscissa(const TPoint&, const TPoint&);
23  TAbscissa(const Element&);
24  ~TAbscissa();
25 
26  TAbscissa & operator =(const TAbscissa&);
27 
28  double Length();
30 
31  void SetPoints(const TPoint&, const TPoint&);
32 
33  double GetMin(int) const;
34  double GetMax(int) const;
35 
36  static int getNumInstances() {
38  }
39 };
40 
41 #endif
double Length()
Definition: abscissa.cpp:58
Bounding box in 3d ambient space.
Definition: bounding_box.hh:55
int id
Definition: abscissa.h:11
BoundingBox boundingBox
Definition: abscissa.h:13
static int getNumInstances()
Definition: abscissa.h:36
void SetPoints(const TPoint &, const TPoint &)
Definition: abscissa.cpp:48
double GetMax(int) const
Definition: abscissa.cpp:85
static int numberInstance
Definition: abscissa.h:10
double length
Definition: abscissa.h:15
Definition: point.h:10
void ComputeLength()
Definition: abscissa.cpp:53
BoundingBox & get_bounding_box()
Definition: abscissa.cpp:62
int generateId()
Definition: abscissa.cpp:8
TAbscissa & operator=(const TAbscissa &)
Definition: abscissa.cpp:35
double GetMin(int) const
Definition: abscissa.cpp:76
~TAbscissa()
Definition: abscissa.cpp:45