KiCad PCB EDA Suite
ARC_DATA_MM Struct Reference

Public Member Functions

SHAPE_ARC GenerateArc () const
 

Public Attributes

double m_center_x
 
double m_center_y
 
double m_start_x
 
double m_start_y
 
double m_center_angle
 
double m_width
 

Detailed Description

Definition at line 710 of file test_shape_arc.cpp.

Member Function Documentation

◆ GenerateArc()

SHAPE_ARC ARC_DATA_MM::GenerateArc ( ) const
inline

Definition at line 720 of file test_shape_arc.cpp.

721 {
725
726 return arc;
727 }
constexpr EDA_IU_SCALE pcbIUScale
Definition: base_units.h:109
@ DEGREES_T
Definition: eda_angle.h:31
double m_center_angle
constexpr int mmToIU(double mm) const
Definition: base_units.h:89
VECTOR2< double > VECTOR2D
Definition: vector2d.h:589

References DEGREES_T, m_center_angle, m_center_x, m_center_y, m_start_x, m_start_y, m_width, EDA_IU_SCALE::mmToIU(), and pcbIUScale.

Member Data Documentation

◆ m_center_angle

double ARC_DATA_MM::m_center_angle

Definition at line 717 of file test_shape_arc.cpp.

Referenced by GenerateArc().

◆ m_center_x

double ARC_DATA_MM::m_center_x

Definition at line 713 of file test_shape_arc.cpp.

Referenced by GenerateArc().

◆ m_center_y

double ARC_DATA_MM::m_center_y

Definition at line 714 of file test_shape_arc.cpp.

Referenced by GenerateArc().

◆ m_start_x

double ARC_DATA_MM::m_start_x

Definition at line 715 of file test_shape_arc.cpp.

Referenced by GenerateArc().

◆ m_start_y

double ARC_DATA_MM::m_start_y

Definition at line 716 of file test_shape_arc.cpp.

Referenced by GenerateArc().

◆ m_width

double ARC_DATA_MM::m_width

Definition at line 718 of file test_shape_arc.cpp.

Referenced by GenerateArc().


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