curveTools.H
Go to the documentation of this file.
1 #ifndef curveTools_H
2 #define curveTools_H
3 
4 #include "scalar.H"
5 #include "vector.H"
6 #include "curve.H"
7 #include "char.H"
8 #include "List.H"
9 
10 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
11 
12 namespace Foam
13 {
14 
15 #define curveSmall 1.0e-8
16 #define curveGreat 1.0e8
17 
20 
21 
22 scalar distance(const vector&, const vector&);
23 
24 
26 (
27  const vector&,
28  vector&,
29  label&,
30  label&,
31  scalar,
32  const curve&
33 );
34 
35 
37 (
38  const vector&,
39  vector&,
40  label&,
41  label&,
42  scalar,
43  const curve&
44 );
45 
46 
47 bool interpolate
48 (
49  const vector&,
50  const vector&,
51  const vector&,
52  vector&,
53  scalar
54 );
55 
56 
58 (
59  const vector&,
60  vector&,
61  label&,
62  label&,
63  scalar,
64  const curve&
65 );
66 
67 
68 bool Xinterpolate
69 (
70  const vector&,
71  const vector&,
72  const vector&,
73  vector&,
74  scalar
75 );
76 
77 
78 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
79 
80 } // End namespace Foam
81 
82 #endif
bool XstepForwardsToNextPoint(const vector &o, vector &n, label &i, label &ip1, scalar l, const curve &Curve)
Definition: curveTools.C:121
bool stepBackwardsToNextPoint(const vector &o, vector &n, label &i, label &ip1, scalar l, const curve &Curve)
Definition: curveTools.C:47
bool interpolate(const vector &p1, const vector &p2, const vector &o, vector &n, scalar l)
Definition: curveTools.C:75
bool stepForwardsToNextPoint(const vector &o, vector &n, label &i, label &ip1, scalar l, const curve &Curve)
Definition: curveTools.C:19
scalar distance(const vector &p1, const vector &p2)
Definition: curveTools.C:12
A character and a pointer to a character string.
List< charList > charListList
Definition: curveTools.H:19
A single curve in a graph.
Definition: curve.H:56
bool Xinterpolate(const vector &p1, const vector &p2, const vector &o, vector &n, scalar l)
Definition: curveTools.C:150
List< char > charList
Definition: curveTools.H:18
Namespace for OpenFOAM.