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

Parse a FabMaster .alg file and extract reference data for cross-validation. More...

Public Member Functions

void AddPoint (double aX, double aY)
 

Public Attributes

wxString layer
 
int recordId = 0
 
wxString netName
 
double minX = 1e18
 
double minY = 1e18
 
double maxX = -1e18
 
double maxY = -1e18
 
int segmentCount = 0
 

Detailed Description

Parse a FabMaster .alg file and extract reference data for cross-validation.

The .alg format uses ! as field delimiter with three record types: A! = column header definition J! = journal/metadata S! = data record

Sections are demarcated by A! lines. Data lines follow the schema of the most recent A! header. A single zone polygon from the .alg export, representing a BOUNDARY shape (zone outline) on a copper layer.

Definition at line 1075 of file test_allegro_import.cpp.

Member Function Documentation

◆ AddPoint()

void ALG_ZONE_POLYGON::AddPoint ( double aX,
double aY )
inline

Definition at line 1083 of file test_allegro_import.cpp.

References maxX, maxY, minX, minY, and segmentCount.

Member Data Documentation

◆ layer

wxString ALG_ZONE_POLYGON::layer

Definition at line 1077 of file test_allegro_import.cpp.

Referenced by BOOST_AUTO_TEST_CASE(), and BOOST_AUTO_TEST_CASE().

◆ maxX

double ALG_ZONE_POLYGON::maxX = -1e18

Definition at line 1080 of file test_allegro_import.cpp.

Referenced by AddPoint(), and BOOST_AUTO_TEST_CASE().

◆ maxY

double ALG_ZONE_POLYGON::maxY = -1e18

Definition at line 1080 of file test_allegro_import.cpp.

Referenced by AddPoint(), and BOOST_AUTO_TEST_CASE().

◆ minX

double ALG_ZONE_POLYGON::minX = 1e18

Definition at line 1080 of file test_allegro_import.cpp.

Referenced by AddPoint(), and BOOST_AUTO_TEST_CASE().

◆ minY

double ALG_ZONE_POLYGON::minY = 1e18

Definition at line 1080 of file test_allegro_import.cpp.

Referenced by AddPoint(), and BOOST_AUTO_TEST_CASE().

◆ netName

wxString ALG_ZONE_POLYGON::netName

Definition at line 1079 of file test_allegro_import.cpp.

◆ recordId

int ALG_ZONE_POLYGON::recordId = 0

Definition at line 1078 of file test_allegro_import.cpp.

◆ segmentCount

int ALG_ZONE_POLYGON::segmentCount = 0

Definition at line 1081 of file test_allegro_import.cpp.

Referenced by AddPoint().


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