KiCad PCB EDA Suite
IMPORTED_ARC Class Reference

#include <graphics_importer_buffer.h>

Inheritance diagram for IMPORTED_ARC:
IMPORTED_SHAPE

Public Member Functions

 IMPORTED_ARC (const VECTOR2D &aCenter, const VECTOR2D &aStart, double aAngle, double aWidth)
 
void ImportTo (GRAPHICS_IMPORTER &aImporter) const override
 

Private Attributes

const VECTOR2D m_center
 
const VECTOR2D m_start
 
double m_angle
 
double m_width
 

Detailed Description

Definition at line 81 of file graphics_importer_buffer.h.

Constructor & Destructor Documentation

IMPORTED_ARC::IMPORTED_ARC ( const VECTOR2D aCenter,
const VECTOR2D aStart,
double  aAngle,
double  aWidth 
)
inline

Definition at line 84 of file graphics_importer_buffer.h.

85  : m_center( aCenter ), m_start( aStart ), m_angle( aAngle ), m_width( aWidth )
86  {
87  }
const VECTOR2D m_start
const VECTOR2D m_center

Member Function Documentation

void IMPORTED_ARC::ImportTo ( GRAPHICS_IMPORTER aImporter) const
inlineoverridevirtual

Implements IMPORTED_SHAPE.

Definition at line 89 of file graphics_importer_buffer.h.

References GRAPHICS_IMPORTER::AddArc().

90  {
91  aImporter.AddArc( m_center, m_start, m_angle, m_width );
92  }
const VECTOR2D m_start
virtual void AddArc(const VECTOR2D &aCenter, const VECTOR2D &aStart, double aAngle, double aWidth)=0
Creates an object representing an arc.
const VECTOR2D m_center

Member Data Documentation

double IMPORTED_ARC::m_angle
private

Definition at line 97 of file graphics_importer_buffer.h.

const VECTOR2D IMPORTED_ARC::m_center
private

Definition at line 95 of file graphics_importer_buffer.h.

const VECTOR2D IMPORTED_ARC::m_start
private

Definition at line 96 of file graphics_importer_buffer.h.

double IMPORTED_ARC::m_width
private

Definition at line 98 of file graphics_importer_buffer.h.


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