KiCad PCB EDA Suite
Loading...
Searching...
No Matches
KICAD_DIFF::DOCUMENT_GEOMETRY Struct Reference

Aggregate of background geometry extracted from one source document. More...

#include <diff_scene.h>

Public Member Functions

bool Empty () const
 

Public Attributes

std::vector< DOCUMENT_SEGMENT > segments
 
std::vector< DOCUMENT_POLYGON > polygons
 
std::vector< DOCUMENT_CIRCLE > circles
 
std::map< PCB_LAYER_ID, wxString > layerNames
 Board layer names, including user-assigned ones. Empty for documents without a board.
 

Detailed Description

Aggregate of background geometry extracted from one source document.

Populated by per-format extractors (PCB, schematic, library) and rendered underneath the diff bbox rectangles so the user sees what's being diffed, not just where the differences cluster.

Definition at line 162 of file diff_scene.h.

Member Function Documentation

◆ Empty()

Member Data Documentation

◆ circles

◆ layerNames

std::map<PCB_LAYER_ID, wxString> KICAD_DIFF::DOCUMENT_GEOMETRY::layerNames

Board layer names, including user-assigned ones. Empty for documents without a board.

Definition at line 169 of file diff_scene.h.

Referenced by DIALOG_KICAD_DIFF::DIALOG_KICAD_DIFF(), and KICAD_DIFF::ExtractBoardGeometry().

◆ polygons

◆ segments


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