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

Arc definition using center point, radius, and angles. More...

#include <pads_parser.h>

Public Attributes

double cx
 Center X coordinate.
 
double cy
 Center Y coordinate.
 
double radius
 Arc radius.
 
double start_angle
 Start angle in degrees (0 = +X, CCW positive)
 
double delta_angle
 Arc sweep angle in degrees (positive = CCW)
 

Detailed Description

Arc definition using center point, radius, and angles.

PADS uses center/radius/angles representation for arcs. Angles are in degrees, with 0 pointing right (+X) and positive angles going counter-clockwise.

Definition at line 56 of file pads_parser.h.

Member Data Documentation

◆ cx

◆ cy

◆ delta_angle

double PADS_IO::ARC::delta_angle

◆ radius

double PADS_IO::ARC::radius

Arc radius.

Definition at line 60 of file pads_parser.h.

Referenced by BOOST_AUTO_TEST_CASE(), and PCB_IO_PADS::makeMidpointArc().

◆ start_angle

double PADS_IO::ARC::start_angle

Start angle in degrees (0 = +X, CCW positive)

Definition at line 61 of file pads_parser.h.

Referenced by BOOST_AUTO_TEST_CASE().


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