KiCad PCB EDA Suite
EVERTEX Struct Reference

Public Member Functions

 EVERTEX (CPTREE &aVertex)
 

Public Attributes

double x
 
double y
 

Detailed Description

Definition at line 805 of file eagle_plugin.cpp.

Constructor & Destructor Documentation

EVERTEX::EVERTEX ( CPTREE aVertex)

Definition at line 813 of file eagle_plugin.cpp.

814 {
815  CPTREE& attribs = aVertex.get_child( "<xmlattr>" );
816 
817  /*
818  <!ELEMENT vertex EMPTY>
819  <!ATTLIST vertex
820  x %Coord; #REQUIRED
821  y %Coord; #REQUIRED
822  curve %WireCurve; "0" -- the curvature from this vertex to the next one --
823  >
824  */
825 
826  x = attribs.get<double>( "x" );
827  y = attribs.get<double>( "y" );
828 }
const PTREE CPTREE
Definition: eagle_plugin.h:63
double y
double x

Member Data Documentation

double EVERTEX::x

Definition at line 807 of file eagle_plugin.cpp.

Referenced by EAGLE_PLUGIN::loadSignals(), and EAGLE_PLUGIN::packagePolygon().

double EVERTEX::y

Definition at line 808 of file eagle_plugin.cpp.

Referenced by EAGLE_PLUGIN::loadSignals(), and EAGLE_PLUGIN::packagePolygon().


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