KiCad PCB EDA Suite
Loading...
Searching...
No Matches
geometry.h File Reference

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.
 

Function Documentation

◆ boost_test_print_type()

template<typename T >
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().