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 | |
template<typename T > | |
std::ostream & | boost_test_print_type (std::ostream &os, const BOX2< T > &aBox) |
Define a stream function for logging this type. | |
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. | |
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. | |
std::ostream & boost_test_print_type | ( | std::ostream & | os, |
const BOX2< T > & | aBox | ||
) |
Define a stream function for logging this type.
Definition at line 38 of file geometry.h.
References BOX2< Vec >::GetOrigin(), and BOX2< Vec >::GetSize().