KiCad PCB EDA Suite
EDIMENSION Struct Reference

Eagle dimension element. More...

#include <eagle_parser.h>

Public Member Functions

 EDIMENSION (wxXmlNode *aDimension)
 

Public Attributes

ECOORD x1
 
ECOORD y1
 
ECOORD x2
 
ECOORD y2
 
ECOORD x3
 
ECOORD y3
 
int layer
 
opt_wxString dimensionType
 

Detailed Description

Eagle dimension element.

Definition at line 628 of file eagle_parser.h.

Constructor & Destructor Documentation

◆ EDIMENSION()

EDIMENSION::EDIMENSION ( wxXmlNode *  aDimension)

Definition at line 524 of file eagle_parser.cpp.

525 {
526  /*
527  <!ELEMENT dimension EMPTY>
528  <!ATTLIST dimension
529  x1 %Coord; #REQUIRED
530  y1 %Coord; #REQUIRED
531  x2 %Coord; #REQUIRED
532  y2 %Coord; #REQUIRED
533  x3 %Coord; #REQUIRED
534  y3 %Coord; #REQUIRED
535  layer %Layer; #REQUIRED
536  dtype %DimensionType; "parallel"
537  >
538  */
539 
540  x1 = parseRequiredAttribute<ECOORD>( aDimension, "x1" );
541  y1 = parseRequiredAttribute<ECOORD>( aDimension, "y1" );
542  x2 = parseRequiredAttribute<ECOORD>( aDimension, "x2" );
543  y2 = parseRequiredAttribute<ECOORD>( aDimension, "y2" );
544  x3 = parseRequiredAttribute<ECOORD>( aDimension, "x3" );
545  y3 = parseRequiredAttribute<ECOORD>( aDimension, "y3" );
546  layer = parseRequiredAttribute<int>( aDimension, "layer" );
547  dimensionType = parseOptionalAttribute<wxString>( aDimension, "dtype" );
548 }
opt_wxString dimensionType
Definition: eagle_parser.h:638

References dimensionType, layer, x1, x2, x3, y1, y2, and y3.

Member Data Documentation

◆ dimensionType

opt_wxString EDIMENSION::dimensionType

Definition at line 638 of file eagle_parser.h.

Referenced by EDIMENSION(), and EAGLE_PLUGIN::loadPlain().

◆ layer

int EDIMENSION::layer

Definition at line 636 of file eagle_parser.h.

Referenced by EDIMENSION(), and EAGLE_PLUGIN::loadPlain().

◆ x1

ECOORD EDIMENSION::x1

Definition at line 630 of file eagle_parser.h.

Referenced by EDIMENSION(), and EAGLE_PLUGIN::loadPlain().

◆ x2

ECOORD EDIMENSION::x2

Definition at line 632 of file eagle_parser.h.

Referenced by EDIMENSION(), and EAGLE_PLUGIN::loadPlain().

◆ x3

ECOORD EDIMENSION::x3

Definition at line 634 of file eagle_parser.h.

Referenced by EDIMENSION(), and EAGLE_PLUGIN::loadPlain().

◆ y1

ECOORD EDIMENSION::y1

Definition at line 631 of file eagle_parser.h.

Referenced by EDIMENSION(), and EAGLE_PLUGIN::loadPlain().

◆ y2

ECOORD EDIMENSION::y2

Definition at line 633 of file eagle_parser.h.

Referenced by EDIMENSION(), and EAGLE_PLUGIN::loadPlain().

◆ y3

ECOORD EDIMENSION::y3

Definition at line 635 of file eagle_parser.h.

Referenced by EDIMENSION(), and EAGLE_PLUGIN::loadPlain().


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