Pathfinder
Compare.h
Go to the documentation of this file.
1 
10 #ifndef COMPARE_H
11 #define COMPARE_H
12 
13 #include <tuple>
14 
15 #include <Geometry/Vec3.h>
16 
17 namespace Pathfinder {
18 
27  bool
29  const Geometry::Vec3& l,
30  const Geometry::Vec3& r
31  );
32 
33 
43  bool
45  const Geometry::Vec3& l,
46  const Geometry::Vec3& r
47  );
48 
49 
58  bool
60  const Geometry::Vec3& l,
61  const Geometry::Vec3& r
62  );
63 
64 
74  bool
76  const std::tuple<Geometry::Vec3, Geometry::Vec3>& l,
77  const std::tuple<Geometry::Vec3, Geometry::Vec3>& r
78  );
79 
80 
90  bool
92  const std::tuple<Geometry::Vec3, Geometry::Vec3>& l,
93  const std::tuple<Geometry::Vec3, Geometry::Vec3>& r
94  );
95 
96 
106  bool
108  const std::tuple<std::tuple<Geometry::Vec3, Geometry::Vec3>,
109  std::tuple<Geometry::Vec3, Geometry::Vec3>>& l,
110  const std::tuple<std::tuple<Geometry::Vec3, Geometry::Vec3>,
111  std::tuple<Geometry::Vec3, Geometry::Vec3>>& r
112  );
113 
114 
124  bool
126  const std::tuple<std::tuple<Geometry::Vec3, Geometry::Vec3>,
127  std::tuple<Geometry::Vec3, Geometry::Vec3>>& l,
128  const std::tuple<std::tuple<Geometry::Vec3, Geometry::Vec3>,
129  std::tuple<Geometry::Vec3, Geometry::Vec3>>& r
130  );
131 
132 
145  bool
147  const float& l,
148  const float& r
149  );
150 
151 
164  bool
166  const float& l,
167  const float& r
168  );
169 }
170 
171 #endif
bool compareEqualVec3Tuple(const std::tuple< Geometry::Vec3, Geometry::Vec3 > &l, const std::tuple< Geometry::Vec3, Geometry::Vec3 > &r)
Compare two tuples that contain Vec3 instances, for equality.
Definition: Compare.cpp:64
Definition: AABB.cpp:21
bool compareSmallerVec3Tuple(const std::tuple< Geometry::Vec3, Geometry::Vec3 > &l, const std::tuple< Geometry::Vec3, Geometry::Vec3 > &r)
Compare two tuples that contain Vec3 instances, for a lexicographic < relation.
Definition: Compare.cpp:49
bool compareSmallerFloat(const float &l, const float &r)
Compare two float values for a < relation.
Definition: Compare.cpp:106
bool compareSmallerVec3TupleTuple(const std::tuple< std::tuple< Geometry::Vec3, Geometry::Vec3 >, std::tuple< Geometry::Vec3, Geometry::Vec3 >> &l, const std::tuple< std::tuple< Geometry::Vec3, Geometry::Vec3 >, std::tuple< Geometry::Vec3, Geometry::Vec3 >> &r)
Compare two tuples which contain tuples, for a lexicographic < relation.
Definition: Compare.cpp:73
bool compareSmallerVec3(const Geometry::Vec3 &l, const Geometry::Vec3 &r)
Compare two Vec3 instances for a lexicographic < relation.
Definition: Compare.cpp:18
bool compareEqualFloat(const float &l, const float &r)
Compare two float values for equality.
Definition: Compare.cpp:101
bool compareEqualVec3(const Geometry::Vec3 &l, const Geometry::Vec3 &r)
Compare two Vec3 instances for equality.
Definition: Compare.cpp:35
bool compareEqualVec3TupleTuple(const std::tuple< std::tuple< Geometry::Vec3, Geometry::Vec3 >, std::tuple< Geometry::Vec3, Geometry::Vec3 >> &l, const std::tuple< std::tuple< Geometry::Vec3, Geometry::Vec3 >, std::tuple< Geometry::Vec3, Geometry::Vec3 >> &r)
Compare two tuples which contain tulpes, for equality.
Definition: Compare.cpp:90
bool compareSmallerEqualVec3(const Geometry::Vec3 &l, const Geometry::Vec3 &r)
Compare two Vec3 instances for a lexicographic <= relation.
Definition: Compare.cpp:42