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

#include <pcad_arc.h>

Inheritance diagram for PCAD2KICAD::PCAD_ARC:
PCAD2KICAD::PCAD_PCB_COMPONENT

Public Member Functions

 PCAD_ARC (PCAD_CALLBACKS *aCallbacks, BOARD *aBoard)
 
 ~PCAD_ARC ()
 
virtual void Parse (XNODE *aNode, int aLayer, const wxString &aDefaultUnits, const wxString &aActualConversion)
 
virtual void SetPosOffset (int aX_offs, int aY_offs) override
 
virtual void Flip () override
 
void AddToBoard (FOOTPRINT *aFootprint=nullptr) override
 
PCB_LAYER_ID GetKiCadLayer () const
 
int GetNetCode (const wxString &aNetName) const
 

Public Attributes

int m_StartX
 
int m_StartY
 
EDA_ANGLE m_Angle
 
int m_Width
 
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

PCAD_CALLBACKSm_callbacks
 
BOARDm_board
 

Private Member Functions

bool IsCircle ()
 

Detailed Description

Definition at line 38 of file pcad_arc.h.

Constructor & Destructor Documentation

◆ PCAD_ARC()

PCAD2KICAD::PCAD_ARC::PCAD_ARC ( PCAD_CALLBACKS aCallbacks,
BOARD aBoard 
)

◆ ~PCAD_ARC()

PCAD2KICAD::PCAD_ARC::~PCAD_ARC ( )

Definition at line 50 of file pcad_arc.cpp.

Member Function Documentation

◆ AddToBoard()

◆ Flip()

◆ GetKiCadLayer()

◆ GetNetCode()

◆ IsCircle()

bool PCAD2KICAD::PCAD_ARC::IsCircle ( )
private

Definition at line 197 of file pcad_arc.cpp.

References ANGLE_360, and m_Angle.

Referenced by AddToBoard().

◆ Parse()

◆ SetPosOffset()

void PCAD2KICAD::PCAD_ARC::SetPosOffset ( int  aX_offs,
int  aY_offs 
)
overridevirtual

Reimplemented from PCAD2KICAD::PCAD_PCB_COMPONENT.

Definition at line 155 of file pcad_arc.cpp.

References m_StartX, m_StartY, and PCAD2KICAD::PCAD_PCB_COMPONENT::SetPosOffset().

Member Data Documentation

◆ m_Angle

EDA_ANGLE PCAD2KICAD::PCAD_ARC::m_Angle

Definition at line 59 of file pcad_arc.h.

Referenced by AddToBoard(), Flip(), IsCircle(), Parse(), and PCAD_ARC().

◆ m_board

◆ m_callbacks

◆ m_CompRef

wxString PCAD2KICAD::PCAD_PCB_COMPONENT::m_CompRef
inherited

◆ m_KiCadLayer

◆ m_Name

◆ m_Net

◆ m_NetCode

◆ m_ObjType

◆ m_PatGraphRefName

wxString PCAD2KICAD::PCAD_PCB_COMPONENT::m_PatGraphRefName
inherited

◆ m_PCadLayer

◆ m_PositionX

◆ m_PositionY

◆ m_Rotation

◆ m_StartX

int PCAD2KICAD::PCAD_ARC::m_StartX

Definition at line 57 of file pcad_arc.h.

Referenced by AddToBoard(), Flip(), Parse(), PCAD_ARC(), and SetPosOffset().

◆ m_StartY

int PCAD2KICAD::PCAD_ARC::m_StartY

Definition at line 58 of file pcad_arc.h.

Referenced by AddToBoard(), Parse(), PCAD_ARC(), and SetPosOffset().

◆ m_Uuid

KIID PCAD2KICAD::PCAD_PCB_COMPONENT::m_Uuid
inherited

Definition at line 66 of file pcad_pcb_component.h.

◆ m_Width

int PCAD2KICAD::PCAD_ARC::m_Width

Definition at line 60 of file pcad_arc.h.

Referenced by AddToBoard(), Parse(), and PCAD_ARC().


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