KiCad PCB EDA Suite
IMPORTED_SPLINE Class Reference

#include <graphics_importer_buffer.h>

Inheritance diagram for IMPORTED_SPLINE:
IMPORTED_SHAPE

Public Member Functions

 IMPORTED_SPLINE (const VECTOR2D &aStart, const VECTOR2D &aBezierControl1, const VECTOR2D &aBezierControl2, const VECTOR2D &aEnd, double aWidth)
 
void ImportTo (GRAPHICS_IMPORTER &aImporter) const override
 

Private Attributes

const VECTOR2D m_start
 
const VECTOR2D m_bezierControl1
 
const VECTOR2D m_bezierControl2
 
const VECTOR2D m_end
 
double m_width
 

Detailed Description

Definition at line 152 of file graphics_importer_buffer.h.

Constructor & Destructor Documentation

IMPORTED_SPLINE::IMPORTED_SPLINE ( const VECTOR2D aStart,
const VECTOR2D aBezierControl1,
const VECTOR2D aBezierControl2,
const VECTOR2D aEnd,
double  aWidth 
)
inline

Definition at line 155 of file graphics_importer_buffer.h.

157  : m_start( aStart ), m_bezierControl1( aBezierControl1 ),
158  m_bezierControl2( aBezierControl2 ), m_end( aEnd ), m_width( aWidth )
159  {
160  }
const VECTOR2D m_bezierControl2
const VECTOR2D m_bezierControl1

Member Function Documentation

void IMPORTED_SPLINE::ImportTo ( GRAPHICS_IMPORTER aImporter) const
inlineoverridevirtual

Implements IMPORTED_SHAPE.

Definition at line 162 of file graphics_importer_buffer.h.

References GRAPHICS_IMPORTER::AddSpline().

163  {
165  }
virtual void AddSpline(const VECTOR2D &aStart, const VECTOR2D &aBezierControl1, const VECTOR2D &aBezierControl2, const VECTOR2D &aEnd, double aWidth)=0
Creates an object representing an arc.
const VECTOR2D m_bezierControl2
const VECTOR2D m_bezierControl1

Member Data Documentation

const VECTOR2D IMPORTED_SPLINE::m_bezierControl1
private

Definition at line 169 of file graphics_importer_buffer.h.

const VECTOR2D IMPORTED_SPLINE::m_bezierControl2
private

Definition at line 170 of file graphics_importer_buffer.h.

const VECTOR2D IMPORTED_SPLINE::m_end
private

Definition at line 171 of file graphics_importer_buffer.h.

const VECTOR2D IMPORTED_SPLINE::m_start
private

Definition at line 168 of file graphics_importer_buffer.h.

double IMPORTED_SPLINE::m_width
private

Definition at line 172 of file graphics_importer_buffer.h.


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