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

a node in a More...

#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, const 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

a node in a

Definition at line 453 of file drc_creepage_utils.h.

Member Enumeration Documentation

◆ TYPE

Enumerator
POINT 
CIRCLE 
ARC 
SEGMENT 
VIRTUAL 

Definition at line 456 of file drc_creepage_utils.h.

Constructor & Destructor Documentation

◆ GRAPH_NODE()

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

Definition at line 465 of file drc_creepage_utils.h.

References m_connectDirectly, m_net, m_node_conns, m_parent, m_pos, m_type, and m_virtual.

◆ ~GRAPH_NODE()

GRAPH_NODE::~GRAPH_NODE ( )
inline

Definition at line 476 of file drc_creepage_utils.h.

Member Data Documentation

◆ m_connectDirectly

bool GRAPH_NODE::m_connectDirectly

Definition at line 485 of file drc_creepage_utils.h.

Referenced by GRAPH_NODE().

◆ m_net

int GRAPH_NODE::m_net

Definition at line 486 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 480 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 479 of file drc_creepage_utils.h.

Referenced by GRAPH_NODE().

◆ m_pos

VECTOR2I GRAPH_NODE::m_pos

Definition at line 481 of file drc_creepage_utils.h.

Referenced by GRAPH_NODE().

◆ m_type

GRAPH_NODE::TYPE GRAPH_NODE::m_type

Definition at line 488 of file drc_creepage_utils.h.

Referenced by GRAPH_NODE().

◆ m_virtual

bool GRAPH_NODE::m_virtual

Definition at line 484 of file drc_creepage_utils.h.

Referenced by GRAPH_NODE().


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