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

Constructor & Destructor Documentation

◆ EDIMENSION()

EDIMENSION::EDIMENSION ( wxXmlNode *  aDimension)

Definition at line 541 of file eagle_parser.cpp.

542 {
543  /*
544  <!ELEMENT dimension EMPTY>
545  <!ATTLIST dimension
546  x1 %Coord; #REQUIRED
547  y1 %Coord; #REQUIRED
548  x2 %Coord; #REQUIRED
549  y2 %Coord; #REQUIRED
550  x3 %Coord; #REQUIRED
551  y3 %Coord; #REQUIRED
552  layer %Layer; #REQUIRED
553  dtype %DimensionType; "parallel"
554  >
555  */
556 
557  x1 = parseRequiredAttribute<ECOORD>( aDimension, "x1" );
558  y1 = parseRequiredAttribute<ECOORD>( aDimension, "y1" );
559  x2 = parseRequiredAttribute<ECOORD>( aDimension, "x2" );
560  y2 = parseRequiredAttribute<ECOORD>( aDimension, "y2" );
561  x3 = parseRequiredAttribute<ECOORD>( aDimension, "x3" );
562  y3 = parseRequiredAttribute<ECOORD>( aDimension, "y3" );
563  layer = parseRequiredAttribute<int>( aDimension, "layer" );
564  dimensionType = parseOptionalAttribute<wxString>( aDimension, "dtype" );
565 }
opt_wxString dimensionType
Definition: eagle_parser.h:639

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

Member Data Documentation

◆ dimensionType

opt_wxString EDIMENSION::dimensionType

Definition at line 639 of file eagle_parser.h.

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

◆ layer

int EDIMENSION::layer

Definition at line 637 of file eagle_parser.h.

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

◆ x1

ECOORD EDIMENSION::x1

Definition at line 631 of file eagle_parser.h.

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

◆ x2

ECOORD EDIMENSION::x2

Definition at line 633 of file eagle_parser.h.

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

◆ x3

ECOORD EDIMENSION::x3

Definition at line 635 of file eagle_parser.h.

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

◆ y1

ECOORD EDIMENSION::y1

Definition at line 632 of file eagle_parser.h.

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

◆ y2

ECOORD EDIMENSION::y2

Definition at line 634 of file eagle_parser.h.

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

◆ y3

ECOORD EDIMENSION::y3

Definition at line 636 of file eagle_parser.h.

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


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