KiCad PCB EDA Suite
DXF2BRD_ENTITY_DATA Class Reference

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

#include <dxf2brd_items.h>

Public Member Functions

 DXF2BRD_ENTITY_DATA ()
 
void Clear ()
 

Public Attributes

int m_EntityType
 
int m_EntityParseStatus
 
int m_EntityFlag
 
wxRealPoint m_LastCoordinate
 
wxRealPoint 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< wxRealPoint > m_SplineFitPointList
 

Detailed Description

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

Definition at line 54 of file dxf2brd_items.h.

Constructor & Destructor Documentation

DXF2BRD_ENTITY_DATA::DXF2BRD_ENTITY_DATA ( )
inline

Definition at line 85 of file dxf2brd_items.h.

85 { Clear(); };

Member Function Documentation

void DXF2BRD_ENTITY_DATA::Clear ( )
inline

Definition at line 88 of file dxf2brd_items.h.

Referenced by DXF2BRD_CONVERTER::addPolyline(), DXF2BRD_CONVERTER::addSpline(), and DXF2BRD_CONVERTER::endEntity().

89  {
90  m_EntityType = DL_UNKNOWN;
92  m_EntityFlag = 0;
93  m_SplineDegree = 1;
96  m_SplineFitCount = 0;
99  m_SplineTangentEndX = 0.0;
100  m_SplineTangentEndY = 0.0;
101  m_SplineKnotsList.clear();
102  m_SplineControlPointList.clear();
103  m_SplineFitPointList.clear();
104  }
unsigned int m_SplineFitCount
Definition: dxf2brd_items.h:72
std::vector< wxRealPoint > m_SplineFitPointList
Definition: dxf2brd_items.h:83
unsigned int m_SplineControlCount
Definition: dxf2brd_items.h:71
unsigned int m_SplineKnotsCount
Definition: dxf2brd_items.h:70
unsigned int m_SplineDegree
Definition: dxf2brd_items.h:69
double m_SplineTangentStartX
Definition: dxf2brd_items.h:73
std::vector< double > m_SplineKnotsList
Definition: dxf2brd_items.h:79
std::vector< SPLINE_CTRL_POINT > m_SplineControlPointList
Definition: dxf2brd_items.h:81
double m_SplineTangentStartY
Definition: dxf2brd_items.h:74

Member Data Documentation

double DXF2BRD_ENTITY_DATA::m_BulgeVertex

Definition at line 66 of file dxf2brd_items.h.

Referenced by DXF2BRD_CONVERTER::addVertex(), and DXF2BRD_CONVERTER::endEntity().

int DXF2BRD_ENTITY_DATA::m_EntityFlag
int DXF2BRD_ENTITY_DATA::m_EntityParseStatus
int DXF2BRD_ENTITY_DATA::m_EntityType
wxRealPoint DXF2BRD_ENTITY_DATA::m_LastCoordinate

Definition at line 64 of file dxf2brd_items.h.

Referenced by DXF2BRD_CONVERTER::addVertex(), and DXF2BRD_CONVERTER::endEntity().

wxRealPoint DXF2BRD_ENTITY_DATA::m_PolylineStart

Definition at line 65 of file dxf2brd_items.h.

Referenced by DXF2BRD_CONVERTER::addVertex(), and DXF2BRD_CONVERTER::endEntity().

unsigned int DXF2BRD_ENTITY_DATA::m_SplineControlCount

Definition at line 71 of file dxf2brd_items.h.

Referenced by DXF2BRD_CONVERTER::addSpline().

std::vector<SPLINE_CTRL_POINT> DXF2BRD_ENTITY_DATA::m_SplineControlPointList
unsigned int DXF2BRD_ENTITY_DATA::m_SplineDegree
unsigned int DXF2BRD_ENTITY_DATA::m_SplineFitCount

Definition at line 72 of file dxf2brd_items.h.

Referenced by DXF2BRD_CONVERTER::addSpline().

std::vector<wxRealPoint> DXF2BRD_ENTITY_DATA::m_SplineFitPointList
unsigned int DXF2BRD_ENTITY_DATA::m_SplineKnotsCount

Definition at line 70 of file dxf2brd_items.h.

Referenced by DXF2BRD_CONVERTER::addSpline().

std::vector<double> DXF2BRD_ENTITY_DATA::m_SplineKnotsList

Definition at line 79 of file dxf2brd_items.h.

Referenced by DXF2BRD_CONVERTER::addKnot(), and DXF2BRD_CONVERTER::insertSpline().

double DXF2BRD_ENTITY_DATA::m_SplineTangentEndX

Definition at line 75 of file dxf2brd_items.h.

Referenced by DXF2BRD_CONVERTER::addSpline().

double DXF2BRD_ENTITY_DATA::m_SplineTangentEndY

Definition at line 76 of file dxf2brd_items.h.

Referenced by DXF2BRD_CONVERTER::addSpline().

double DXF2BRD_ENTITY_DATA::m_SplineTangentStartX

Definition at line 73 of file dxf2brd_items.h.

Referenced by DXF2BRD_CONVERTER::addSpline().

double DXF2BRD_ENTITY_DATA::m_SplineTangentStartY

Definition at line 74 of file dxf2brd_items.h.

Referenced by DXF2BRD_CONVERTER::addSpline().


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