Flow123d
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
flow123d
src
mesh
ngh
include
bisector.h
Go to the documentation of this file.
1
#ifndef bisectorH
2
#define bisectorH
3
4
#include <iostream>
5
6
#include "
system/global_defs.h
"
7
#include "
mesh/elements.h
"
8
9
#include "
point.h
"
10
#include "
myvector.h
"
11
12
class
TBisector
{
13
protected
:
14
static
int
numberInstance
;
15
int
id
;
16
17
TPoint
*
X0
;
18
TVector
*
U
;
19
20
int
generateId
();
21
22
public
:
23
TBisector
();
24
TBisector
(
const
TPoint
&,
const
TVector
&);
25
TBisector
(
const
TPoint
&,
const
TPoint
&);
26
TBisector
(
const
TBisector
&);
27
TBisector
(
const
Element
&);
28
~TBisector
();
29
30
TBisector
&
operator =
(
const
TBisector
&);
31
friend
std::ostream &
operator <<
(std::ostream&,
const
TBisector
&);
32
33
void
SetPoints
(
const
TPoint
&,
const
TPoint
&);
34
bool
Belong
(
const
TPoint
&)
const
;
35
36
void
SetPoint
(
const
TPoint
&);
37
const
TPoint
&
GetPoint
()
const
;
38
TPoint
GetPoint
(
double
)
const
;
39
void
GetParameter
(
const
TPoint
&,
double
&,
bool
&)
const
;
40
41
void
SetVector
(
const
TVector
&);
42
const
TVector
&
GetVector
()
const
;
43
44
static
int
getNumInstances
() {
45
return
TBisector::numberInstance
;
46
}
47
};
48
49
#endif
Generated on Thu May 29 2014 23:14:49 for Flow123d by
1.8.4