KiCad PCB EDA Suite
DXF2BRD_ENTITY_DATA Class Reference

A helper class to parse a DXF entity (polyline and spline) More...

#include <dxf_import_plugin.h>

Public Member Functions

 DXF2BRD_ENTITY_DATA ()
 
void Clear ()
 

Public Attributes

int m_EntityType
 
int m_EntityParseStatus
 
int m_EntityFlag
 
VECTOR2D m_LastCoordinate
 
VECTOR2D m_PolylineStart
 
double m_BulgeVertex
 
unsigned int m_SplineDegree
 
unsigned int m_SplineKnotsCount
 
unsigned int m_SplineControlCount
 
unsigned int m_SplineFitCount
 
double m_SplineTangentStartX
 
double m_SplineTangentStartY
 
double m_SplineTangentEndX
 
double m_SplineTangentEndY
 
std::vector< double > m_SplineKnotsList
 
std::vector< SPLINE_CTRL_POINTm_SplineControlPointList
 
std::vector< VECTOR2Dm_SplineFitPointList
 

Detailed Description

A helper class to parse a DXF entity (polyline and spline)

Definition at line 59 of file dxf_import_plugin.h.

Constructor & Destructor Documentation

◆ DXF2BRD_ENTITY_DATA()

DXF2BRD_ENTITY_DATA::DXF2BRD_ENTITY_DATA ( )
inline

Definition at line 62 of file dxf_import_plugin.h.

62{ Clear(); };

References Clear().

Member Function Documentation

◆ Clear()

void DXF2BRD_ENTITY_DATA::Clear ( )
inline

Definition at line 65 of file dxf_import_plugin.h.

66 {
67 m_EntityType = DL_UNKNOWN;
69 m_EntityFlag = 0;
78 m_BulgeVertex = 0.0;
79 m_SplineKnotsList.clear();
82 }
unsigned int m_SplineDegree
std::vector< VECTOR2D > m_SplineFitPointList
unsigned int m_SplineFitCount
std::vector< SPLINE_CTRL_POINT > m_SplineControlPointList
unsigned int m_SplineKnotsCount
unsigned int m_SplineControlCount
std::vector< double > m_SplineKnotsList

References m_BulgeVertex, m_EntityFlag, m_EntityParseStatus, m_EntityType, m_SplineControlCount, m_SplineControlPointList, m_SplineDegree, m_SplineFitCount, m_SplineFitPointList, m_SplineKnotsCount, m_SplineKnotsList, m_SplineTangentEndX, m_SplineTangentEndY, m_SplineTangentStartX, and m_SplineTangentStartY.

Referenced by DXF_IMPORT_PLUGIN::addPolyline(), DXF_IMPORT_PLUGIN::addSpline(), DXF2BRD_ENTITY_DATA(), and DXF_IMPORT_PLUGIN::endEntity().

Member Data Documentation

◆ m_BulgeVertex

double DXF2BRD_ENTITY_DATA::m_BulgeVertex

◆ m_EntityFlag

int DXF2BRD_ENTITY_DATA::m_EntityFlag

◆ m_EntityParseStatus

int DXF2BRD_ENTITY_DATA::m_EntityParseStatus

◆ m_EntityType

int DXF2BRD_ENTITY_DATA::m_EntityType

◆ m_LastCoordinate

VECTOR2D DXF2BRD_ENTITY_DATA::m_LastCoordinate

◆ m_PolylineStart

VECTOR2D DXF2BRD_ENTITY_DATA::m_PolylineStart

◆ m_SplineControlCount

unsigned int DXF2BRD_ENTITY_DATA::m_SplineControlCount

Definition at line 99 of file dxf_import_plugin.h.

Referenced by DXF_IMPORT_PLUGIN::addSpline(), and Clear().

◆ m_SplineControlPointList

std::vector<SPLINE_CTRL_POINT> DXF2BRD_ENTITY_DATA::m_SplineControlPointList

◆ m_SplineDegree

unsigned int DXF2BRD_ENTITY_DATA::m_SplineDegree

◆ m_SplineFitCount

unsigned int DXF2BRD_ENTITY_DATA::m_SplineFitCount

Definition at line 100 of file dxf_import_plugin.h.

Referenced by DXF_IMPORT_PLUGIN::addSpline(), and Clear().

◆ m_SplineFitPointList

std::vector<VECTOR2D> DXF2BRD_ENTITY_DATA::m_SplineFitPointList

◆ m_SplineKnotsCount

unsigned int DXF2BRD_ENTITY_DATA::m_SplineKnotsCount

Definition at line 98 of file dxf_import_plugin.h.

Referenced by DXF_IMPORT_PLUGIN::addSpline(), and Clear().

◆ m_SplineKnotsList

std::vector<double> DXF2BRD_ENTITY_DATA::m_SplineKnotsList

◆ m_SplineTangentEndX

double DXF2BRD_ENTITY_DATA::m_SplineTangentEndX

Definition at line 103 of file dxf_import_plugin.h.

Referenced by DXF_IMPORT_PLUGIN::addSpline(), and Clear().

◆ m_SplineTangentEndY

double DXF2BRD_ENTITY_DATA::m_SplineTangentEndY

Definition at line 104 of file dxf_import_plugin.h.

Referenced by DXF_IMPORT_PLUGIN::addSpline(), and Clear().

◆ m_SplineTangentStartX

double DXF2BRD_ENTITY_DATA::m_SplineTangentStartX

Definition at line 101 of file dxf_import_plugin.h.

Referenced by DXF_IMPORT_PLUGIN::addSpline(), and Clear().

◆ m_SplineTangentStartY

double DXF2BRD_ENTITY_DATA::m_SplineTangentStartY

Definition at line 102 of file dxf_import_plugin.h.

Referenced by DXF_IMPORT_PLUGIN::addSpline(), and Clear().


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