KiCad PCB EDA Suite
ECIRCLE Struct Reference

Eagle circle. More...

#include <eagle_parser.h>

Public Member Functions

 ECIRCLE (wxXmlNode *aCircle)
 

Public Attributes

double x
 
double y
 
double radius
 
double width
 
LAYER_NUM layer
 

Detailed Description

Eagle circle.

Definition at line 441 of file eagle_parser.h.

Constructor & Destructor Documentation

ECIRCLE::ECIRCLE ( wxXmlNode *  aCircle)

Definition at line 213 of file eagle_parser.cpp.

References layer, radius, width, x, and y.

214 {
215  /*
216  <!ELEMENT circle EMPTY>
217  <!ATTLIST circle
218  x %Coord; #REQUIRED
219  y %Coord; #REQUIRED
220  radius %Coord; #REQUIRED
221  width %Dimension; #REQUIRED
222  layer %Layer; #REQUIRED
223  >
224  */
225 
226  x = parseRequiredAttribute<double>( aCircle, "x" );
227  y = parseRequiredAttribute<double>( aCircle, "y" );
228  radius = parseRequiredAttribute<double>( aCircle, "radius" );
229  width = parseRequiredAttribute<double>( aCircle, "width" );
230  layer = parseRequiredAttribute<int>( aCircle, "layer" );
231 }
double radius
Definition: eagle_parser.h:445
LAYER_NUM layer
Definition: eagle_parser.h:447
double width
Definition: eagle_parser.h:446
double x
Definition: eagle_parser.h:443
double y
Definition: eagle_parser.h:444

Member Data Documentation

LAYER_NUM ECIRCLE::layer

Definition at line 447 of file eagle_parser.h.

Referenced by ECIRCLE(), EAGLE_PLUGIN::loadPlain(), and EAGLE_PLUGIN::packageCircle().

double ECIRCLE::radius

Definition at line 445 of file eagle_parser.h.

Referenced by ECIRCLE(), EAGLE_PLUGIN::loadPlain(), and EAGLE_PLUGIN::packageCircle().

double ECIRCLE::width

Definition at line 446 of file eagle_parser.h.

Referenced by ECIRCLE(), EAGLE_PLUGIN::loadPlain(), and EAGLE_PLUGIN::packageCircle().

double ECIRCLE::x

Definition at line 443 of file eagle_parser.h.

Referenced by ECIRCLE(), EAGLE_PLUGIN::loadPlain(), and EAGLE_PLUGIN::packageCircle().

double ECIRCLE::y

Definition at line 444 of file eagle_parser.h.

Referenced by ECIRCLE(), EAGLE_PLUGIN::loadPlain(), and EAGLE_PLUGIN::packageCircle().


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