25#ifndef PCB_IO_EASYEDAPRO_PARSER_H_ 
   26#define PCB_IO_EASYEDAPRO_PARSER_H_ 
   58        return KiROUND( aValue * 25400.0 / 500.0 ) * 500;
 
 
   73    static double Convert( wxString aValue );
 
   76                               const std::vector<nlohmann::json>& aLines );
 
   79                     std::map<wxString, std::unique_ptr<FOOTPRINT>>&    aFootprintMap,
 
   80                     const std::map<wxString, EASYEDAPRO::BLOB>&        aBlobMap,
 
   81                     const std::multimap<wxString, EASYEDAPRO::POURED>& aPouredMap,
 
   82                     const std::vector<nlohmann::json>& aLines, 
const wxString& aFpLibName );
 
   85                                                       nlohmann::json polyData, 
bool aClosed,
 
   98                                 const wxString& modelTitle, 
const wxString& modelTransform ) 
const;
 
 
constexpr BOX2I KiROUND(const BOX2D &aBoxD)
 
Abstract interface for BOARD_ITEMs capable of storing other items inside.
 
Information pertinent to a Pcbnew printed circuit board.
 
static VECTOR2< T > ScaleSize(VECTOR2< T > aValue)
 
static T ScaleSize(T aValue)
 
static VECTOR2< T > ScalePos(VECTOR2< T > aValue)
 
PCB_IO_EASYEDAPRO_PARSER(BOARD *aBoard, PROGRESS_REPORTER *aProgressReporter)
 
std::vector< std::unique_ptr< PCB_SHAPE > > ParsePoly(BOARD_ITEM_CONTAINER *aContainer, nlohmann::json polyData, bool aClosed, bool aInFill) const
 
SHAPE_LINE_CHAIN ParseContour(nlohmann::json polyData, bool aInFill, int aMaxError=SHAPE_ARC::DefaultAccuracyForPCB()) const
 
void ParseBoard(BOARD *aBoard, const nlohmann::json &aProject, std::map< wxString, std::unique_ptr< FOOTPRINT > > &aFootprintMap, const std::map< wxString, EASYEDAPRO::BLOB > &aBlobMap, const std::multimap< wxString, EASYEDAPRO::POURED > &aPouredMap, const std::vector< nlohmann::json > &aLines, const wxString &aFpLibName)
 
std::unique_ptr< PAD > createPAD(FOOTPRINT *aFootprint, const nlohmann::json &line)
 
PCB_LAYER_ID LayerToKi(int aLayer)
 
FOOTPRINT * ParseFootprint(const nlohmann::json &aProject, const wxString &aFpUuid, const std::vector< nlohmann::json > &aLines)
 
static double Convert(wxString aValue)
 
void fillFootprintModelInfo(FOOTPRINT *footprint, const wxString &modelUuid, const wxString &modelTitle, const wxString &modelTransform) const
 
~PCB_IO_EASYEDAPRO_PARSER()
 
A progress reporter interface for use in multi-threaded environments.
 
static int DefaultAccuracyForPCB()
 
Represent a polyline containing arcs as well as line segments: A chain of connected line and/or arc s...
 
Define a general 2D-vector/point.
 
PCB_LAYER_ID
A quick note on layer IDs:
 
VECTOR2< double > VECTOR2D