KiCad PCB EDA Suite
Loading...
Searching...
No Matches
IMPORTED_ELLIPSE_ARC Class Reference

#include <graphics_importer_buffer.h>

Inheritance diagram for IMPORTED_ELLIPSE_ARC:
IMPORTED_SHAPE

Public Member Functions

 IMPORTED_ELLIPSE_ARC (const VECTOR2D &aCenter, double aMajorRadius, double aMinorRadius, const EDA_ANGLE &aRotation, const EDA_ANGLE &aStartAngle, const EDA_ANGLE &aEndAngle, const IMPORTED_STROKE &aStroke)
 
void ImportTo (GRAPHICS_IMPORTER &aImporter) const override
 
virtual std::unique_ptr< IMPORTED_SHAPEclone () const override
 
void Transform (const MATRIX3x3D &aTransform, const VECTOR2D &aTranslation) override
 
BOX2D GetBoundingBox () const override
 
void SetParentShapeIndex (int aIndex)
 
int GetParentShapeIndex () const
 

Protected Attributes

int m_parentShapeIndex = -1
 

Private Attributes

VECTOR2D m_center
 
double m_majorRadius
 
double m_minorRadius
 
EDA_ANGLE m_rotation
 
EDA_ANGLE m_startAngle
 
EDA_ANGLE m_endAngle
 
IMPORTED_STROKE m_stroke
 

Detailed Description

Definition at line 417 of file graphics_importer_buffer.h.

Constructor & Destructor Documentation

◆ IMPORTED_ELLIPSE_ARC()

IMPORTED_ELLIPSE_ARC::IMPORTED_ELLIPSE_ARC ( const VECTOR2D & aCenter,
double aMajorRadius,
double aMinorRadius,
const EDA_ANGLE & aRotation,
const EDA_ANGLE & aStartAngle,
const EDA_ANGLE & aEndAngle,
const IMPORTED_STROKE & aStroke )
inline

Member Function Documentation

◆ clone()

virtual std::unique_ptr< IMPORTED_SHAPE > IMPORTED_ELLIPSE_ARC::clone ( ) const
inlineoverridevirtual

Implements IMPORTED_SHAPE.

Definition at line 438 of file graphics_importer_buffer.h.

◆ GetBoundingBox()

BOX2D IMPORTED_ELLIPSE_ARC::GetBoundingBox ( ) const
inlineoverridevirtual

Implements IMPORTED_SHAPE.

Definition at line 458 of file graphics_importer_buffer.h.

References m_center, m_majorRadius, m_minorRadius, and BOX2< Vec >::Merge().

◆ GetParentShapeIndex()

int IMPORTED_SHAPE::GetParentShapeIndex ( ) const
inlineinherited

◆ ImportTo()

void IMPORTED_ELLIPSE_ARC::ImportTo ( GRAPHICS_IMPORTER & aImporter) const
inlineoverridevirtual

◆ SetParentShapeIndex()

void IMPORTED_SHAPE::SetParentShapeIndex ( int aIndex)
inlineinherited

Definition at line 47 of file graphics_importer_buffer.h.

References m_parentShapeIndex.

◆ Transform()

void IMPORTED_ELLIPSE_ARC::Transform ( const MATRIX3x3D & aTransform,
const VECTOR2D & aTranslation )
inlineoverridevirtual

Member Data Documentation

◆ m_center

VECTOR2D IMPORTED_ELLIPSE_ARC::m_center
private

◆ m_endAngle

EDA_ANGLE IMPORTED_ELLIPSE_ARC::m_endAngle
private

Definition at line 473 of file graphics_importer_buffer.h.

Referenced by IMPORTED_ELLIPSE_ARC(), and ImportTo().

◆ m_majorRadius

double IMPORTED_ELLIPSE_ARC::m_majorRadius
private

◆ m_minorRadius

double IMPORTED_ELLIPSE_ARC::m_minorRadius
private

◆ m_parentShapeIndex

int IMPORTED_SHAPE::m_parentShapeIndex = -1
protectedinherited

Definition at line 53 of file graphics_importer_buffer.h.

Referenced by GetParentShapeIndex(), and SetParentShapeIndex().

◆ m_rotation

EDA_ANGLE IMPORTED_ELLIPSE_ARC::m_rotation
private

Definition at line 471 of file graphics_importer_buffer.h.

Referenced by IMPORTED_ELLIPSE_ARC(), ImportTo(), and Transform().

◆ m_startAngle

EDA_ANGLE IMPORTED_ELLIPSE_ARC::m_startAngle
private

Definition at line 472 of file graphics_importer_buffer.h.

Referenced by IMPORTED_ELLIPSE_ARC(), and ImportTo().

◆ m_stroke

IMPORTED_STROKE IMPORTED_ELLIPSE_ARC::m_stroke
private

Definition at line 474 of file graphics_importer_buffer.h.

Referenced by IMPORTED_ELLIPSE_ARC(), and ImportTo().


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