KiCad PCB EDA Suite
Loading...
Searching...
No Matches
GRAPH_NODE Class Reference

#include <drc_creepage_utils.h>

Public Types

enum  TYPE {
  POINT = 0 , CIRCLE , ARC , SEGMENT ,
  VIRTUAL
}
 

Public Member Functions

 GRAPH_NODE (GRAPH_NODE::TYPE aType, CREEP_SHAPE *aParent, VECTOR2I aPos=VECTOR2I())
 
 ~GRAPH_NODE ()
 

Public Attributes

CREEP_SHAPEm_parent
 
std::set< std::shared_ptr< GRAPH_CONNECTION > > m_node_conns
 
VECTOR2I m_pos
 
bool m_virtual
 
bool m_connectDirectly
 
int m_net
 
GRAPH_NODE::TYPE m_type
 

Detailed Description

Definition at line 446 of file drc_creepage_utils.h.

Member Enumeration Documentation

◆ TYPE

Enumerator
POINT 
CIRCLE 
ARC 
SEGMENT 
VIRTUAL 

Definition at line 449 of file drc_creepage_utils.h.

Constructor & Destructor Documentation

◆ GRAPH_NODE()

GRAPH_NODE::GRAPH_NODE ( GRAPH_NODE::TYPE  aType,
CREEP_SHAPE aParent,
VECTOR2I  aPos = VECTOR2I() 
)
inline

Definition at line 459 of file drc_creepage_utils.h.

References m_connectDirectly, m_net, m_node_conns, and m_virtual.

◆ ~GRAPH_NODE()

GRAPH_NODE::~GRAPH_NODE ( )
inline

Definition at line 470 of file drc_creepage_utils.h.

Member Data Documentation

◆ m_connectDirectly

bool GRAPH_NODE::m_connectDirectly

Definition at line 479 of file drc_creepage_utils.h.

Referenced by GRAPH_NODE().

◆ m_net

int GRAPH_NODE::m_net

Definition at line 480 of file drc_creepage_utils.h.

Referenced by GRAPH_NODE().

◆ m_node_conns

std::set<std::shared_ptr<GRAPH_CONNECTION> > GRAPH_NODE::m_node_conns

Definition at line 474 of file drc_creepage_utils.h.

Referenced by GRAPH_NODE(), and CREEPAGE_GRAPH::Solve().

◆ m_parent

CREEP_SHAPE* GRAPH_NODE::m_parent

Definition at line 473 of file drc_creepage_utils.h.

◆ m_pos

VECTOR2I GRAPH_NODE::m_pos

Definition at line 475 of file drc_creepage_utils.h.

◆ m_type

GRAPH_NODE::TYPE GRAPH_NODE::m_type

Definition at line 482 of file drc_creepage_utils.h.

◆ m_virtual

bool GRAPH_NODE::m_virtual

Definition at line 478 of file drc_creepage_utils.h.

Referenced by GRAPH_NODE().


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