Merge branch 'master' of ssh://git.code.sf.net/p/foam-extend/foam-extend-3.2
[foam-extend-3.2.git] / src / foam / graph / curve / curveTools.H
blob6b56d1faa9fcb5e410175f55e4332150970a6cb6
1 #ifndef curveTools_H
2 #define curveTools_H
4 #include "scalar.H"
5 #include "vector.H"
6 #include "curve.H"
8 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
10 namespace Foam
13 #define curveSmall 1.0e-8
14 #define curveGreat 1.0e8
16 #include "char.H"
17 #include "List.H"
19 typedef List<char> charList;
20 typedef List<charList> charListList;
23 scalar distance(const vector&, const vector&);
26 bool stepForwardsToNextPoint
28     const vector&,
29     vector&,
30     label&,
31     label&,
32     scalar,
33     const curve&
37 bool stepBackwardsToNextPoint
39     const vector&,
40     vector&,
41     label&,
42     label&,
43     scalar,
44     const curve&
48 bool interpolate
50     const vector&,
51     const vector&,
52     const vector&,
53     vector&,
54     scalar
58 bool XstepForwardsToNextPoint
60     const vector&,
61     vector&,
62     label&,
63     label&,
64     scalar,
65     const curve&
69 bool Xinterpolate
71     const vector&,
72     const vector&,
73     const vector&,
74     vector&,
75     scalar
79 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
81 } // End namespace Foam
83 #endif