KiCad PCB EDA Suite
EVERTEX Struct Reference

Eagle vertex. More...

#include <eagle_parser.h>

Public Member Functions

 EVERTEX (wxXmlNode *aVertex)
 

Public Attributes

ECOORD x
 
ECOORD y
 
opt_double curve
 range is -359.9..359.9 More...
 

Detailed Description

Eagle vertex.

Definition at line 746 of file eagle_parser.h.

Constructor & Destructor Documentation

EVERTEX::EVERTEX ( wxXmlNode *  aVertex)

Definition at line 739 of file eagle_parser.cpp.

References EPAD_COMMON::x, and EPAD_COMMON::y.

740 {
741  /*
742  <!ELEMENT vertex EMPTY>
743  <!ATTLIST vertex
744  x %Coord; #REQUIRED
745  y %Coord; #REQUIRED
746  curve %WireCurve; "0" -- the curvature from this vertex to the next one --
747  >
748  */
749 
750  x = parseRequiredAttribute<ECOORD>( aVertex, "x" );
751  y = parseRequiredAttribute<ECOORD>( aVertex, "y" );
752  curve = parseOptionalAttribute<double>( aVertex, "curve" );
753 }
ECOORD y
Definition: eagle_parser.h:749
opt_double curve
range is -359.9..359.9
Definition: eagle_parser.h:750
ECOORD x
Definition: eagle_parser.h:748

Member Data Documentation

opt_double EVERTEX::curve

range is -359.9..359.9

Definition at line 750 of file eagle_parser.h.

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


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