KiCad PCB EDA Suite
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages Concepts
EPOLYGON Struct Reference

Eagle polygon, without vertices which are parsed as needed. More...

#include <eagle_parser.h>

Inheritance diagram for EPOLYGON:
EAGLE_BASE

Public Types

enum  { ESOLID , EHATCH , ECUTOUT }
 

Public Member Functions

 EPOLYGON (wxXmlNode *aPolygon, IO_BASE *aIo=nullptr)
 
void Report (const wxString &aMsg, SEVERITY aSeverity=RPT_SEVERITY_UNDEFINED)
 Send a message to the IO_BASE REPORTER object if one exists.
 
void AdvanceProgressPhase ()
 

Public Attributes

ECOORD width
 
int layer
 
opt_ecoord spacing
 
int pour
 
opt_ecoord isolate
 
opt_bool orphans
 
opt_bool thermals
 
opt_int rank
 
std::vector< std::unique_ptr< EVERTEX > > vertices
 
IO_BASEio
 

Static Public Attributes

static const int max_priority = 6
 

Detailed Description

Eagle polygon, without vertices which are parsed as needed.

Definition at line 1137 of file eagle_parser.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
ESOLID 
EHATCH 
ECUTOUT 

Definition at line 1170 of file eagle_parser.h.

Constructor & Destructor Documentation

◆ EPOLYGON()

EPOLYGON::EPOLYGON ( wxXmlNode *  aPolygon,
IO_BASE aIo = nullptr 
)

Member Function Documentation

◆ AdvanceProgressPhase()

◆ Report()

void EAGLE_BASE::Report ( const wxString &  aMsg,
SEVERITY  aSeverity = RPT_SEVERITY_UNDEFINED 
)
inherited

Send a message to the IO_BASE REPORTER object if one exists.

Parameters
aMsgis the message to send to the REPORTER object.

Definition at line 550 of file eagle_parser.cpp.

References EAGLE_BASE::io, and IO_BASE::Report().

Member Data Documentation

◆ io

IO_BASE* EAGLE_BASE::io
inherited

Definition at line 405 of file eagle_parser.h.

Referenced by EAGLE_BASE::AdvanceProgressPhase(), and EAGLE_BASE::Report().

◆ isolate

opt_ecoord EPOLYGON::isolate

Definition at line 1177 of file eagle_parser.h.

Referenced by EPOLYGON(), and PCB_IO_EAGLE::loadPolygon().

◆ layer

int EPOLYGON::layer

◆ max_priority

const int EPOLYGON::max_priority = 6
static

Definition at line 1168 of file eagle_parser.h.

Referenced by PCB_IO_EAGLE::loadPolygon().

◆ orphans

opt_bool EPOLYGON::orphans

Definition at line 1178 of file eagle_parser.h.

Referenced by EPOLYGON(), and PCB_IO_EAGLE::loadPolygon().

◆ pour

int EPOLYGON::pour

◆ rank

opt_int EPOLYGON::rank

Definition at line 1180 of file eagle_parser.h.

Referenced by EPOLYGON(), and PCB_IO_EAGLE::loadPolygon().

◆ spacing

opt_ecoord EPOLYGON::spacing

Definition at line 1161 of file eagle_parser.h.

Referenced by EPOLYGON(), and PCB_IO_EAGLE::loadPolygon().

◆ thermals

opt_bool EPOLYGON::thermals

Definition at line 1179 of file eagle_parser.h.

Referenced by EPOLYGON(), and PCB_IO_EAGLE::loadPolygon().

◆ vertices

std::vector<std::unique_ptr<EVERTEX> > EPOLYGON::vertices

Definition at line 1182 of file eagle_parser.h.

Referenced by EPOLYGON().

◆ width

ECOORD EPOLYGON::width

The documentation for this struct was generated from the following files: