KiCad PCB EDA Suite
ECIRCLE Struct Reference

Eagle circle. More...

Public Member Functions

 ECIRCLE (CPTREE &aCircle)
 

Public Attributes

double x
 
double y
 
double radius
 
double width
 
LAYER_NUM layer
 

Detailed Description

Eagle circle.

Definition at line 385 of file eagle_plugin.cpp.

Constructor & Destructor Documentation

ECIRCLE::ECIRCLE ( CPTREE aCircle)

Definition at line 396 of file eagle_plugin.cpp.

397 {
398  CPTREE& attribs = aCircle.get_child( "<xmlattr>" );
399 
400  /*
401  <!ELEMENT circle EMPTY>
402  <!ATTLIST circle
403  x %Coord; #REQUIRED
404  y %Coord; #REQUIRED
405  radius %Coord; #REQUIRED
406  width %Dimension; #REQUIRED
407  layer %Layer; #REQUIRED
408  >
409  */
410 
411  x = attribs.get<double>( "x" );
412  y = attribs.get<double>( "y" );
413  radius = attribs.get<double>( "radius" );
414  width = attribs.get<double>( "width" );
415  layer = attribs.get<int>( "layer" );
416 }
double radius
const PTREE CPTREE
Definition: eagle_plugin.h:63
LAYER_NUM layer
double width
double x
double y

Member Data Documentation

LAYER_NUM ECIRCLE::layer

Definition at line 391 of file eagle_plugin.cpp.

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

double ECIRCLE::radius

Definition at line 389 of file eagle_plugin.cpp.

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

double ECIRCLE::width

Definition at line 390 of file eagle_plugin.cpp.

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

double ECIRCLE::x

Definition at line 387 of file eagle_plugin.cpp.

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

double ECIRCLE::y

Definition at line 388 of file eagle_plugin.cpp.

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


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