Flow123d
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
flow123d
src
mesh
ngh
include
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
12
TVector
*
U
;
13
TVector
*
V
;
14
TVector
*
N
;
15
16
double
a
;
17
double
b
;
18
double
c
;
19
double
d
;
20
21
TPoint
*
X
;
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
() {
49
return
TPlain::numberInstance
;
50
}
51
};
52
53
#endif
Generated on Thu May 29 2014 23:14:49 for Flow123d by
1.8.4