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

A point that may be either a line endpoint or an arc segment. More...

#include <pads_parser.h>

Public Member Functions

 ARC_POINT ()
 
 ARC_POINT (double aX, double aY)
 
 ARC_POINT (double aX, double aY, const ARC &aArc)
 

Public Attributes

double x
 Endpoint X coordinate.
 
double y
 Endpoint Y coordinate.
 
bool is_arc
 True if this segment is an arc, false for line.
 
ARC arc
 Arc parameters (only valid when is_arc is true)
 

Detailed Description

A point that may be either a line endpoint or an arc segment.

In PADS format, polylines can contain arc corners. When is_arc is true, the arc field defines the arc from the previous point to this point's x,y.

Definition at line 71 of file pads_parser.h.

Constructor & Destructor Documentation

◆ ARC_POINT() [1/3]

PADS_IO::ARC_POINT::ARC_POINT ( )
inline

Definition at line 78 of file pads_parser.h.

References arc, is_arc, x, and y.

◆ ARC_POINT() [2/3]

PADS_IO::ARC_POINT::ARC_POINT ( double aX,
double aY )
inline

Definition at line 79 of file pads_parser.h.

References arc, is_arc, x, and y.

◆ ARC_POINT() [3/3]

PADS_IO::ARC_POINT::ARC_POINT ( double aX,
double aY,
const ARC & aArc )
inline

Definition at line 80 of file pads_parser.h.

References arc, is_arc, x, and y.

Member Data Documentation

◆ arc

◆ is_arc

◆ x

◆ y


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