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 770 of file eagle_parser.cpp.

771 {
772  /*
773  <!ELEMENT vertex EMPTY>
774  <!ATTLIST vertex
775  x %Coord; #REQUIRED
776  y %Coord; #REQUIRED
777  curve %WireCurve; "0" -- the curvature from this vertex to the next one --
778  >
779  */
780 
781  x = parseRequiredAttribute<ECOORD>( aVertex, "x" );
782  y = parseRequiredAttribute<ECOORD>( aVertex, "y" );
783  curve = parseOptionalAttribute<double>( aVertex, "curve" );
784 }
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: