Flow123d
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
flow123d
src
mesh
ngh
include
intersection.h
Go to the documentation of this file.
1
#ifndef intersectionH
2
#define intersectionH
3
4
#include "
bisector.h
"
5
#include "
abscissa.h
"
6
#include "
point.h
"
7
#include "
plain.h
"
8
#include "
triangle.h
"
9
#include "
tetrahedron.h
"
10
#include "
intersectionLocal.h
"
11
12
typedef
enum
Intersections
{
13
none
,
14
unknown
,
15
point
,
16
line
,
17
area
18
}
TIntersectionType
;
19
20
typedef
enum
Positions
{
21
skew
,
22
parallel
,
23
intersecting
,
24
same
,
25
belong
26
}
TPosition
;
27
28
void
GetIntersection
(
const
TBisector
&,
const
TBisector
&,
TPosition
&,
29
double
&,
double
&);
30
//void GetIntersection(const TBisector &, const TBisector &, TPosition &,
31
// TPoint *);
32
void
GetIntersection
(
const
TAbscissa
&,
const
TAbscissa
&,
TPosition
&,
33
double
&,
double
&);
34
//void GetIntersection(const TAbscissa &, const TAbscissa &, TPosition &, //puvodni
35
// TPoint *);
36
void
GetIntersection
(
const
TAbscissa
&,
const
TAbscissa
&,
IntersectionLocal
* & insec);
37
38
void
GetIntersection
(
const
TBisector
&,
const
TAbscissa
&,
TPosition
&,
39
double
&,
double
&);
40
//void GetIntersection(const TBisector &, const TAbscissa &, TPosition &, //puvodni
41
// TPoint *);
42
void
GetIntersection
(
const
TBisector
&,
const
TAbscissa
&,
IntersectionLocal
* & insec);
43
44
void
GetIntersection
(
const
TAbscissa
&,
const
TBisector
&,
TPosition
&,
45
double
&,
double
&);
46
//void GetIntersection(const TAbscissa &, const TBisector &, TPosition &, //puvodni
47
// TPoint *);
48
void
GetIntersection
(
const
TAbscissa
&,
const
TBisector
&,
IntersectionLocal
* & insec);
49
50
void
GetIntersection
(
const
TPlain
&,
const
TPlain
&,
51
TPosition
&,
TBisector
*);
52
void
GetIntersection
(
const
TPlain
&,
const
TBisector
&,
53
TPosition
&,
TPoint
*);
54
void
GetIntersection
(
const
TBisector
&,
const
TPlain
&,
55
TPosition
&,
double
&);
56
void
GetIntersection
(
const
TBisector
&,
const
TPlain
&,
57
TPosition
&,
TPoint
*);
58
void
GetIntersection
(
const
TTriangle
&,
const
TTriangle
&,
59
TIntersectionType
&,
double
&);
60
//void GetIntersection(const TBisector &, const TTriangle &, //puvodni
61
// TIntersectionType &, double &, double &);
62
void
GetIntersection
(
const
TBisector
&,
const
TTriangle
&,
IntersectionLocal
* & insec);
63
64
//void GetIntersection(const TAbscissa &, const TTriangle &, //puvodni
65
// TIntersectionType &, double &, double &);
66
void
GetIntersection
(
const
TAbscissa
&,
const
TTriangle
&,
IntersectionLocal
* & insec);
67
68
void
GetIntersection
(
const
TAbscissa
&,
const
TTetrahedron
&,
69
TIntersectionType
&,
double
&);
70
void
GetIntersection
(
const
TTriangle
&,
const
TTetrahedron
&,
71
TIntersectionType
&,
double
&);
72
73
template
<
class
A,
class
B>
bool
QuickIntersectionTest
(
const
A &a,
const
B &b);
74
75
double
Distance
(
const
TBisector
&,
const
TPoint
&);
76
double
Distance
(
const
TPlain
&,
const
TPoint
&);
77
double
Distance
(
const
TPoint
&,
const
TPoint
&);
78
#endif
Generated on Thu May 29 2014 23:14:49 for Flow123d by
1.8.4