KiCad PCB EDA Suite
Loading...
Searching...
No Matches
geom_test_utils.cpp File Reference
#include "geom_test_utils.h"

Go to the source code of this file.

Functions

std::ostream & boost_test_print_type (std::ostream &os, const SHAPE_LINE_CHAIN &c)
 
std::string toString (const POINT_TYPE &aType)
 
std::ostream & operator<< (std::ostream &os, const TYPED_POINT2I &aPt)
 

Function Documentation

◆ boost_test_print_type()

std::ostream & boost_test_print_type ( std::ostream &  os,
const SHAPE_LINE_CHAIN c 
)

◆ operator<<()

std::ostream & operator<< ( std::ostream &  os,
const TYPED_POINT2I aPt 
)

Definition at line 34 of file geom_test_utils.cpp.

References TYPED_POINT2I::m_point, TYPED_POINT2I::m_types, and operator<<().

◆ toString()

std::string toString ( const POINT_TYPE aType)

Definition at line 19 of file geom_test_utils.cpp.

References PT_CENTER, PT_CORNER, PT_END, PT_INTERSECTION, PT_MID, PT_NONE, and PT_QUADRANT.