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::EVERTEX ( wxXmlNode *  aVertex)

Definition at line 729 of file eagle_parser.cpp.

730 {
731  /*
732  <!ELEMENT vertex EMPTY>
733  <!ATTLIST vertex
734  x %Coord; #REQUIRED
735  y %Coord; #REQUIRED
736  curve %WireCurve; "0" -- the curvature from this vertex to the next one --
737  >
738  */
739 
740  x = parseRequiredAttribute<ECOORD>( aVertex, "x" );
741  y = parseRequiredAttribute<ECOORD>( aVertex, "y" );
742  curve = parseOptionalAttribute<double>( aVertex, "curve" );
743 }
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

References curve, x, and y.

Member Data Documentation

◆ curve

opt_double EVERTEX::curve

range is -359.9..359.9

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