KiCad PCB EDA Suite
Loading...
Searching...
No Matches
connectivity_algo.h File Reference
#include <geometry/shape_poly_set.h>
#include <algorithm>
#include <deque>
#include <functional>
#include <list>
#include <memory>
#include <vector>
#include <connectivity/connectivity_rtree.h>
#include <connectivity/connectivity_data.h>
#include <connectivity/connectivity_items.h>

Go to the source code of this file.

Classes

class  CN_EDGE
 CN_EDGE represents a point-to-point connection, whether realized or unrealized (ie: tracks etc. More...
 
class  CN_CONNECTIVITY_ALGO
 
class  CN_CONNECTIVITY_ALGO::ITEM_MAP_ENTRY
 
class  CN_VISITOR
 

Functions

bool ItemsTouchOnLayer (const BOARD_CONNECTED_ITEM *aItemA, const BOARD_CONNECTED_ITEM *aItemB, PCB_LAYER_ID aLayer)
 Test whether two items have copper in contact on aLayer.
 

Function Documentation

◆ ItemsTouchOnLayer()

bool ItemsTouchOnLayer ( const BOARD_CONNECTED_ITEM * aItemA,
const BOARD_CONNECTED_ITEM * aItemB,
PCB_LAYER_ID aLayer )

Test whether two items have copper in contact on aLayer.

An item that only keeps copper where something connects is tested without it. A ring cannot be the reason for its own existence.

Definition at line 1012 of file connectivity_algo.cpp.

References flashingFor(), and BOARD_ITEM::GetEffectiveShape().

Referenced by CONNECTIVITY_DATA::IsConnectedOnLayer(), and CN_VISITOR::operator()().