KiCad PCB EDA Suite
Loading...
Searching...
No Matches
PCAD2KICAD::PCAD_CUTOUT Class Reference

#include <pcad_cutout.h>

Inheritance diagram for PCAD2KICAD::PCAD_CUTOUT:
PCAD2KICAD::PCAD_POLYGON PCAD2KICAD::PCAD_PCB_COMPONENT

Public Member Functions

 PCAD_CUTOUT (PCAD_CALLBACKS *aCallbacks, BOARD *aBoard, int aPCadLayer)
 
 ~PCAD_CUTOUT ()
 
virtual bool Parse (XNODE *aNode, const wxString &aDefaultMeasurementUnit, const wxString &actualConversion) override
 
virtual void SetPosOffset (int aX_offs, int aY_offs) override
 
virtual void Flip () override
 
void AddToBoard (FOOTPRINT *aFootprint=nullptr) override
 
void AssignNet (const wxString &aNetName)
 
void SetOutline (VERTICES_ARRAY *aOutline)
 
void FormPolygon (XNODE *aNode, VERTICES_ARRAY *aPolygon, const wxString &aDefaultUnits, const wxString &actualConversion)
 
PCB_LAYER_ID GetKiCadLayer () const
 
int GetNetCode (const wxString &aNetName) const
 

Public Attributes

int m_Width
 
int m_Priority
 
VERTICES_ARRAY m_Outline
 
ISLANDS_ARRAY m_Islands
 
ISLANDS_ARRAY m_Cutouts
 
char m_ObjType
 
int m_PCadLayer
 
PCB_LAYER_ID m_KiCadLayer
 
KIID m_Uuid
 
int m_PositionX
 
int m_PositionY
 
EDA_ANGLE m_Rotation
 
TTEXTVALUE m_Name
 
wxString m_Net
 
int m_NetCode
 
wxString m_CompRef
 
wxString m_PatGraphRefName
 

Protected Attributes

bool m_filled
 
PCAD_CALLBACKSm_callbacks
 
BOARDm_board
 

Detailed Description

Definition at line 37 of file pcad_cutout.h.

Constructor & Destructor Documentation

◆ PCAD_CUTOUT()

PCAD2KICAD::PCAD_CUTOUT::PCAD_CUTOUT ( PCAD_CALLBACKS aCallbacks,
BOARD aBoard,
int  aPCadLayer 
)

Definition at line 39 of file pcad_cutout.cpp.

References PCAD2KICAD::PCAD_PCB_COMPONENT::m_ObjType.

◆ ~PCAD_CUTOUT()

PCAD2KICAD::PCAD_CUTOUT::~PCAD_CUTOUT ( )

Definition at line 46 of file pcad_cutout.cpp.

Member Function Documentation

◆ AddToBoard()

◆ AssignNet()

void PCAD2KICAD::PCAD_POLYGON::AssignNet ( const wxString &  aNetName)
inherited

◆ Flip()

void PCAD2KICAD::PCAD_POLYGON::Flip ( )
overridevirtualinherited

◆ FormPolygon()

void PCAD2KICAD::PCAD_POLYGON::FormPolygon ( XNODE aNode,
VERTICES_ARRAY *  aPolygon,
const wxString &  aDefaultUnits,
const wxString &  actualConversion 
)
inherited

◆ GetKiCadLayer()

◆ GetNetCode()

◆ Parse()

bool PCAD2KICAD::PCAD_CUTOUT::Parse ( XNODE aNode,
const wxString &  aDefaultMeasurementUnit,
const wxString &  actualConversion 
)
overridevirtual

◆ SetOutline()

void PCAD2KICAD::PCAD_POLYGON::SetOutline ( VERTICES_ARRAY *  aOutline)
inherited

◆ SetPosOffset()

void PCAD2KICAD::PCAD_POLYGON::SetPosOffset ( int  aX_offs,
int  aY_offs 
)
overridevirtualinherited

Member Data Documentation

◆ m_board

◆ m_callbacks

◆ m_CompRef

wxString PCAD2KICAD::PCAD_PCB_COMPONENT::m_CompRef
inherited

◆ m_Cutouts

ISLANDS_ARRAY PCAD2KICAD::PCAD_POLYGON::m_Cutouts
inherited

◆ m_filled

bool PCAD2KICAD::PCAD_POLYGON::m_filled
protectedinherited

◆ m_Islands

ISLANDS_ARRAY PCAD2KICAD::PCAD_POLYGON::m_Islands
inherited

◆ m_KiCadLayer

◆ m_Name

◆ m_Net

◆ m_NetCode

◆ m_ObjType

◆ m_Outline

◆ m_PatGraphRefName

wxString PCAD2KICAD::PCAD_PCB_COMPONENT::m_PatGraphRefName
inherited

◆ m_PCadLayer

◆ m_PositionX

◆ m_PositionY

◆ m_Priority

int PCAD2KICAD::PCAD_POLYGON::m_Priority
inherited

◆ m_Rotation

◆ m_Uuid

KIID PCAD2KICAD::PCAD_PCB_COMPONENT::m_Uuid
inherited

Definition at line 66 of file pcad_pcb_component.h.

◆ m_Width


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