KiCad PCB EDA Suite
EHOLE Struct Reference

Eagle hole element. More...

Public Member Functions

 EHOLE (CPTREE &aHole)
 

Public Attributes

double x
 
double y
 
double drill
 

Detailed Description

Eagle hole element.

Definition at line 899 of file eagle_plugin.cpp.

Constructor & Destructor Documentation

EHOLE::EHOLE ( CPTREE aHole)

Definition at line 908 of file eagle_plugin.cpp.

909 {
910  CPTREE& attribs = aHole.get_child( "<xmlattr>" );
911 
912  /*
913  <!ELEMENT hole EMPTY>
914  <!ATTLIST hole
915  x %Coord; #REQUIRED
916  y %Coord; #REQUIRED
917  drill %Dimension; #REQUIRED
918  >
919  */
920 
921  // #REQUIRED:
922  x = attribs.get<double>( "x" );
923  y = attribs.get<double>( "y" );
924  drill = attribs.get<double>( "drill" );
925 }
double y
const PTREE CPTREE
Definition: eagle_plugin.h:63
double x
double drill

Member Data Documentation

double EHOLE::drill

Definition at line 903 of file eagle_plugin.cpp.

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

double EHOLE::x

Definition at line 901 of file eagle_plugin.cpp.

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

double EHOLE::y

Definition at line 902 of file eagle_plugin.cpp.

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


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