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 747 of file eagle_parser.h.

Constructor & Destructor Documentation

◆ EVERTEX()

EVERTEX::EVERTEX ( wxXmlNode *  aVertex)

Definition at line 746 of file eagle_parser.cpp.

747 {
748  /*
749  <!ELEMENT vertex EMPTY>
750  <!ATTLIST vertex
751  x %Coord; #REQUIRED
752  y %Coord; #REQUIRED
753  curve %WireCurve; "0" -- the curvature from this vertex to the next one --
754  >
755  */
756 
757  x = parseRequiredAttribute<ECOORD>( aVertex, "x" );
758  y = parseRequiredAttribute<ECOORD>( aVertex, "y" );
759  curve = parseOptionalAttribute<double>( aVertex, "curve" );
760 }
ECOORD y
Definition: eagle_parser.h:750
opt_double curve
range is -359.9..359.9
Definition: eagle_parser.h:751
ECOORD x
Definition: eagle_parser.h:749

References curve, x, and y.

Member Data Documentation

◆ curve

opt_double EVERTEX::curve

range is -359.9..359.9

Definition at line 751 of file eagle_parser.h.

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

◆ x

◆ y


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