Flow123d
release_2.2.0-34-g18a8075
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
/*!
2
*
3
* Copyright (C) 2015 Technical University of Liberec. All rights reserved.
4
*
5
* This program is free software; you can redistribute it and/or modify it under
6
* the terms of the GNU General Public License version 3 as published by the
7
* Free Software Foundation. (http://www.gnu.org/licenses/gpl-3.0.en.html)
8
*
9
* This program is distributed in the hope that it will be useful, but WITHOUT
10
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
11
* FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
12
*
13
*
14
* @file intersection.h
15
* @brief
16
*/
17
18
#ifndef intersectionH
19
#define intersectionH
20
21
#include "
bisector.h
"
22
#include "
abscissa.h
"
23
#include "
point.h
"
24
#include "
plain.h
"
25
#include "
triangle.h
"
26
#include "
tetrahedron.h
"
27
#include "
intersectionLocal.h
"
28
29
typedef
enum
Intersections
{
30
none
,
31
unknown
,
32
point
,
33
line
,
34
area
35
}
TIntersectionType
;
36
37
typedef
enum
Positions
{
38
skew
,
39
parallel
,
40
intersecting
,
41
same
,
42
belong
43
}
TPosition
;
44
45
void
GetIntersection
(
const
TBisector
&,
const
TBisector
&,
TPosition
&,
46
double
&,
double
&);
47
void
GetIntersection
(
const
TAbscissa
&,
const
TAbscissa
&,
TPosition
&,
48
double
&,
double
&);
49
void
GetIntersection
(
const
TAbscissa
&,
const
TAbscissa
&,
IntersectionLocal
* & insec);
50
51
void
GetIntersection
(
const
TBisector
&,
const
TAbscissa
&,
TPosition
&,
52
double
&,
double
&);
53
void
GetIntersection
(
const
TBisector
&,
const
TAbscissa
&,
IntersectionLocal
* & insec);
54
55
void
GetIntersection
(
const
TAbscissa
&,
const
TBisector
&,
TPosition
&,
56
double
&,
double
&);
57
void
GetIntersection
(
const
TAbscissa
&,
const
TBisector
&,
IntersectionLocal
* & insec);
58
59
void
GetIntersection
(
const
TPlain
&,
const
TPlain
&,
60
TPosition
&,
TBisector
*);
61
void
GetIntersection
(
const
TPlain
&,
const
TBisector
&,
62
TPosition
&,
TPoint
*);
63
void
GetIntersection
(
const
TBisector
&,
const
TPlain
&,
64
TPosition
&,
double
&);
65
void
GetIntersection
(
const
TBisector
&,
const
TPlain
&,
66
TPosition
&,
TPoint
*);
67
void
GetIntersection
(
const
TTriangle
&,
const
TTriangle
&,
68
TIntersectionType
&,
double
&);
69
void
GetIntersection
(
const
TBisector
&,
const
TTriangle
&,
IntersectionLocal
* & insec);
70
71
void
GetIntersection
(
const
TAbscissa
&,
const
TTriangle
&,
IntersectionLocal
* & insec);
72
73
void
GetIntersection
(
const
TAbscissa
&,
const
TTetrahedron
&,
74
TIntersectionType
&,
double
&);
75
void
GetIntersection
(
const
TTriangle
&,
const
TTetrahedron
&,
76
TIntersectionType
&,
double
&);
77
78
template
<
class
A,
class
B>
bool
QuickIntersectionTest
(
const
A &a,
const
B &b);
79
80
double
Distance
(
const
TBisector
&,
const
TPoint
&);
81
double
Distance
(
const
TPlain
&,
const
TPoint
&);
82
double
Distance
(
const
TPoint
&,
const
TPoint
&);
83
#endif
Distance
double Distance(const TBisector &, const TPoint &)
Definition:
intersection.cpp:366
Positions
Positions
Definition:
intersection.h:37
parallel
Definition:
intersection.h:39
TTriangle
Definition:
triangle.h:30
plain.h
point.h
tetrahedron.h
QuickIntersectionTest
bool QuickIntersectionTest(const A &a, const B &b)
Definition:
intersection.cpp:1098
area
Definition:
intersection.h:34
IntersectionLocal
Definition:
intersectionLocal.h:50
TPlain
Definition:
plain.h:24
abscissa.h
point
Definition:
intersection.h:32
TPoint
Definition:
point.h:27
bisector.h
belong
Definition:
intersection.h:42
Intersections
Intersections
Definition:
intersection.h:29
skew
Definition:
intersection.h:38
triangle.h
TIntersectionType
enum Intersections TIntersectionType
TBisector
Definition:
bisector.h:29
same
Definition:
intersection.h:41
TPosition
enum Positions TPosition
intersectionLocal.h
intersecting
Definition:
intersection.h:40
line
Definition:
intersection.h:33
TTetrahedron
Definition:
tetrahedron.h:24
none
Definition:
intersection.h:30
unknown
Definition:
intersection.h:31
GetIntersection
void GetIntersection(const TBisector &, const TBisector &, TPosition &, double &, double &)
Definition:
intersection.cpp:32
TAbscissa
Definition:
abscissa.h:26
Generated by
1.8.11