| 
    KiCad PCB EDA Suite
    
   | 
 
Common data for some of the SHAPE_POLY_SET tests: More...
#include <fixtures_geometry.h>
Public Member Functions | |
| CommonTestData () | |
| Constructor.   | |
| ~CommonTestData () | |
Public Attributes | |
| SHAPE_POLY_SET | emptyPolySet | 
| SHAPE_POLY_SET | uniqueVertexPolySet | 
| SHAPE_POLY_SET | solidPolySet | 
| SHAPE_POLY_SET | holeyPolySet | 
| SHAPE_POLY_SET | curvedPolyWrapRound | 
| Causes arc wraparound when reloading from Clipper see https://gitlab.com/kicad/code/kicad/-/issues/9670.   | |
| SHAPE_POLY_SET | holeyCurvedPolySingle | 
| Polygon with a single outline + multiple holes.   | |
| SHAPE_POLY_SET | holeyCurvedPolyMulti | 
| Polygon with a multiple outlines + multiple holes.   | |
| SHAPE_POLY_SET | holeyCurvedPolyInter | 
| Polygon with a single outlines + multiple holes.   | |
| std::vector< VECTOR2I > | uniquePoints | 
| std::vector< VECTOR2I > | holeyPoints | 
| std::vector< SEG > | holeySegments | 
Common data for some of the SHAPE_POLY_SET tests:
Definition at line 42 of file fixtures_geometry.h.
      
  | 
  inline | 
Constructor.
Definition at line 67 of file fixtures_geometry.h.
References SHAPE_LINE_CHAIN::Append(), SHAPE_LINE_CHAIN::Clear(), curvedPolyWrapRound, holeyCurvedPolyInter, holeyCurvedPolyMulti, holeyCurvedPolySingle, holeyPoints, holeyPolySet, holeySegments, SHAPE_LINE_CHAIN::SetClosed(), solidPolySet, uniquePoints, and uniqueVertexPolySet.
      
  | 
  inline | 
Definition at line 221 of file fixtures_geometry.h.
| SHAPE_POLY_SET KI_TEST::CommonTestData::curvedPolyWrapRound | 
Causes arc wraparound when reloading from Clipper see https://gitlab.com/kicad/code/kicad/-/issues/9670.
Definition at line 49 of file fixtures_geometry.h.
Referenced by BOOST_AUTO_TEST_CASE(), and CommonTestData().
| SHAPE_POLY_SET KI_TEST::CommonTestData::emptyPolySet | 
Definition at line 45 of file fixtures_geometry.h.
| SHAPE_POLY_SET KI_TEST::CommonTestData::holeyCurvedPolyInter | 
Polygon with a single outlines + multiple holes.
Holes and outlines contain arcs. Intersects with above two polysets
Definition at line 55 of file fixtures_geometry.h.
Referenced by BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), and CommonTestData().
| SHAPE_POLY_SET KI_TEST::CommonTestData::holeyCurvedPolyMulti | 
Polygon with a multiple outlines + multiple holes.
Holes and outlines contain arcs
Definition at line 53 of file fixtures_geometry.h.
Referenced by BOOST_AUTO_TEST_CASE(), and CommonTestData().
| SHAPE_POLY_SET KI_TEST::CommonTestData::holeyCurvedPolySingle | 
Polygon with a single outline + multiple holes.
Holes and outline contain arcs
Definition at line 51 of file fixtures_geometry.h.
Referenced by BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), and CommonTestData().
| std::vector<VECTOR2I> KI_TEST::CommonTestData::holeyPoints | 
Definition at line 61 of file fixtures_geometry.h.
Referenced by CommonTestData().
| SHAPE_POLY_SET KI_TEST::CommonTestData::holeyPolySet | 
Definition at line 48 of file fixtures_geometry.h.
Referenced by CommonTestData().
| std::vector<SEG> KI_TEST::CommonTestData::holeySegments | 
Definition at line 62 of file fixtures_geometry.h.
Referenced by CommonTestData().
| SHAPE_POLY_SET KI_TEST::CommonTestData::solidPolySet | 
Definition at line 47 of file fixtures_geometry.h.
Referenced by CommonTestData().
| std::vector<VECTOR2I> KI_TEST::CommonTestData::uniquePoints | 
Definition at line 60 of file fixtures_geometry.h.
Referenced by CommonTestData().
| SHAPE_POLY_SET KI_TEST::CommonTestData::uniqueVertexPolySet | 
Definition at line 46 of file fixtures_geometry.h.
Referenced by CommonTestData().