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

Constructor & Destructor Documentation

◆ EVERTEX()

EVERTEX::EVERTEX ( wxXmlNode *  aVertex)

Definition at line 773 of file eagle_parser.cpp.

774 {
775  /*
776  <!ELEMENT vertex EMPTY>
777  <!ATTLIST vertex
778  x %Coord; #REQUIRED
779  y %Coord; #REQUIRED
780  curve %WireCurve; "0" -- the curvature from this vertex to the next one --
781  >
782  */
783 
784  x = parseRequiredAttribute<ECOORD>( aVertex, wxT( "x" ) );
785  y = parseRequiredAttribute<ECOORD>( aVertex, wxT( "y" ) );
786  curve = parseOptionalAttribute<double>( aVertex, wxT( "curve" ) );
787 }
ECOORD y
Definition: eagle_parser.h:762
opt_double curve
range is -359.9..359.9
Definition: eagle_parser.h:763
ECOORD x
Definition: eagle_parser.h:761

References curve, x, and y.

Member Data Documentation

◆ curve

opt_double EVERTEX::curve

range is -359.9..359.9

Definition at line 763 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: