KiCad PCB EDA Suite
Loading...
Searching...
No Matches
GERBER_DIFF_RESULT Struct Reference

Result of a Gerber diff calculation containing the geometric differences and area statistics. More...

#include <gerber_diff.h>

Public Member Functions

 GERBER_DIFF_RESULT ()
 

Public Attributes

SHAPE_POLY_SET overlap
 Areas present in both files (file1 AND file2)
 
SHAPE_POLY_SET additions
 Areas in file2 but not file1 (file2 AND NOT file1)
 
SHAPE_POLY_SET removals
 Areas in file1 but not file2 (file1 AND NOT file2)
 
double referenceArea
 Total area of file1 in mm^2.
 
double comparisonArea
 Total area of file2 in mm^2.
 
double overlapArea
 Area of overlap in mm^2.
 
double additionsArea
 Area of additions in mm^2.
 
double removalsArea
 Area of removals in mm^2.
 
double additionsPercent
 Additions as percent of reference area.
 
double removalsPercent
 Removals as percent of reference area.
 
double netChangePercent
 Net change as percent of reference area.
 

Detailed Description

Result of a Gerber diff calculation containing the geometric differences and area statistics.

Definition at line 34 of file gerber_diff.h.

Constructor & Destructor Documentation

◆ GERBER_DIFF_RESULT()

GERBER_DIFF_RESULT::GERBER_DIFF_RESULT ( )
inline

Member Data Documentation

◆ additions

SHAPE_POLY_SET GERBER_DIFF_RESULT::additions

Areas in file2 but not file1 (file2 AND NOT file1)

Definition at line 37 of file gerber_diff.h.

Referenced by RenderDiffToPng().

◆ additionsArea

double GERBER_DIFF_RESULT::additionsArea

Area of additions in mm^2.

Definition at line 43 of file gerber_diff.h.

Referenced by FormatDiffResultJson(), FormatDiffResultText(), and GERBER_DIFF_RESULT().

◆ additionsPercent

double GERBER_DIFF_RESULT::additionsPercent

Additions as percent of reference area.

Definition at line 46 of file gerber_diff.h.

Referenced by FormatDiffResultJson(), FormatDiffResultText(), and GERBER_DIFF_RESULT().

◆ comparisonArea

double GERBER_DIFF_RESULT::comparisonArea

Total area of file2 in mm^2.

Definition at line 41 of file gerber_diff.h.

Referenced by FormatDiffResultJson(), FormatDiffResultText(), and GERBER_DIFF_RESULT().

◆ netChangePercent

double GERBER_DIFF_RESULT::netChangePercent

Net change as percent of reference area.

Definition at line 48 of file gerber_diff.h.

Referenced by FormatDiffResultJson(), FormatDiffResultText(), and GERBER_DIFF_RESULT().

◆ overlap

SHAPE_POLY_SET GERBER_DIFF_RESULT::overlap

Areas present in both files (file1 AND file2)

Definition at line 36 of file gerber_diff.h.

Referenced by RenderDiffToPng().

◆ overlapArea

double GERBER_DIFF_RESULT::overlapArea

Area of overlap in mm^2.

Definition at line 42 of file gerber_diff.h.

Referenced by FormatDiffResultJson(), FormatDiffResultText(), and GERBER_DIFF_RESULT().

◆ referenceArea

double GERBER_DIFF_RESULT::referenceArea

Total area of file1 in mm^2.

Definition at line 40 of file gerber_diff.h.

Referenced by FormatDiffResultJson(), FormatDiffResultText(), and GERBER_DIFF_RESULT().

◆ removals

SHAPE_POLY_SET GERBER_DIFF_RESULT::removals

Areas in file1 but not file2 (file1 AND NOT file2)

Definition at line 38 of file gerber_diff.h.

Referenced by RenderDiffToPng().

◆ removalsArea

double GERBER_DIFF_RESULT::removalsArea

Area of removals in mm^2.

Definition at line 44 of file gerber_diff.h.

Referenced by FormatDiffResultJson(), FormatDiffResultText(), and GERBER_DIFF_RESULT().

◆ removalsPercent

double GERBER_DIFF_RESULT::removalsPercent

Removals as percent of reference area.

Definition at line 47 of file gerber_diff.h.

Referenced by FormatDiffResultJson(), FormatDiffResultText(), and GERBER_DIFF_RESULT().


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