KiCad PCB EDA Suite
Loading...
Searching...
No Matches
test_export_clear_polarity.cpp File Reference
#include <boost/test/unit_test.hpp>
#include <wx/ffile.h>
#include <wx/filefn.h>
#include <wx/filename.h>
#include <qa_utils/wx_utils/unit_test_utils.h>
#include <export_to_pcbnew.h>
#include <gerber_file_image.h>
#include <gerber_file_image_list.h>
#include <geometry/shape_line_chain.h>
#include <layer_ids.h>

Go to the source code of this file.

Functions

static VECTOR2I MillimetrePoint (double aX, double aY)
 
static std::vector< SHAPE_LINE_CHAIN > ReadPolygons (const wxString &aBoard)
 
static bool InsideAnyPolygon (const std::vector< SHAPE_LINE_CHAIN > &aPolygons, const VECTOR2I &aPoint)
 
 BOOST_AUTO_TEST_CASE (ClearRegionCutsCopperPlane)
 

Function Documentation

◆ BOOST_AUTO_TEST_CASE()

◆ InsideAnyPolygon()

static bool InsideAnyPolygon ( const std::vector< SHAPE_LINE_CHAIN > & aPolygons,
const VECTOR2I & aPoint )
static

Definition at line 78 of file test_export_clear_polarity.cpp.

Referenced by BOOST_AUTO_TEST_CASE().

◆ MillimetrePoint()

static VECTOR2I MillimetrePoint ( double aX,
double aY )
static

Definition at line 39 of file test_export_clear_polarity.cpp.

References KiROUND().

Referenced by BOOST_AUTO_TEST_CASE(), and ReadPolygons().

◆ ReadPolygons()

static std::vector< SHAPE_LINE_CHAIN > ReadPolygons ( const wxString & aBoard)
static