KiCad PCB EDA Suite
|
#include <qa_utils/numeric.h>
#include <qa_utils/wx_utils/unit_test_utils.h>
#include <math/box2.h>
#include <math/vector2d.h>
Go to the source code of this file.
Namespaces | |
namespace | KI_TEST |
Functions | |
std::ostream & | operator<< (std::ostream &os, const BOX2I &aBox) |
Define a stream function for logging this type. More... | |
template<typename VEC > | |
bool | KI_TEST::IsVecWithinTol (const VEC &aVec, const VEC &aExp, typename VEC::coord_type aTol) |
Check that both x and y of a vector are within expected error. More... | |
template<typename BOX > | |
bool | KI_TEST::IsBoxWithinTol (const BOX &aBox, const BOX &aExp, typename BOX::coord_type aTol) |
Check that a box is close enough to another box. More... | |
|
inline |
Define a stream function for logging this type.
TODO: convert to boost_test_print_type when Boost minver > 1.64
Definition at line 39 of file geometry.h.
References BOX2< Vec >::GetOrigin(), and BOX2< Vec >::GetSize().