KiCad PCB EDA Suite
Loading...
Searching...
No Matches
AUTOTRAX::ARC Struct Reference

Free or component arc (FA / CA). More...

#include <autotrax_model.h>

Public Attributes

double centerX = 0
 
double centerY = 0
 
double radius = 0
 
int segments = 15
 quadrant bitmask; 15 = full circle
 
double width = 0
 
int layer = 0
 

Detailed Description

Free or component arc (FA / CA).

Autotrax stores a center, radius and a 4-bit quadrant mask in segments rather than start/sweep angles.

Definition at line 76 of file autotrax_model.h.

Member Data Documentation

◆ centerX

double AUTOTRAX::ARC::centerX = 0

Definition at line 78 of file autotrax_model.h.

Referenced by PCB_IO_AUTOTRAX::emitArc(), and AUTOTRAX_PARSER::parseArc().

◆ centerY

double AUTOTRAX::ARC::centerY = 0

◆ layer

int AUTOTRAX::ARC::layer = 0

◆ radius

double AUTOTRAX::ARC::radius = 0

◆ segments

int AUTOTRAX::ARC::segments = 15

quadrant bitmask; 15 = full circle

Definition at line 81 of file autotrax_model.h.

Referenced by PCB_IO_AUTOTRAX::emitArc(), and AUTOTRAX_PARSER::parseArc().

◆ width

double AUTOTRAX::ARC::width = 0

Definition at line 82 of file autotrax_model.h.

Referenced by PCB_IO_AUTOTRAX::emitArc(), and AUTOTRAX_PARSER::parseArc().


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