KiCad PCB EDA Suite
CSegment Class Reference

#include <PolyLine.h>

Public Member Functions

 CSegment ()
 
 CSegment (const wxPoint &aStart, const wxPoint &aEnd)
 
 CSegment (int x0, int y0, int x1, int y1)
 

Public Attributes

wxPoint m_Start
 
wxPoint m_End
 

Detailed Description

Definition at line 59 of file PolyLine.h.

Constructor & Destructor Documentation

CSegment::CSegment ( )
inline

Definition at line 65 of file PolyLine.h.

65 { };
CSegment::CSegment ( const wxPoint aStart,
const wxPoint aEnd 
)
inline

Definition at line 66 of file PolyLine.h.

67  {
68  m_Start = aStart;
69  m_End = aEnd;
70  }
wxPoint m_Start
Definition: PolyLine.h:62
wxPoint m_End
Definition: PolyLine.h:63
CSegment::CSegment ( int  x0,
int  y0,
int  x1,
int  y1 
)
inline

Definition at line 72 of file PolyLine.h.

References wxPoint::x, and wxPoint::y.

73  {
74  m_Start.x = x0; m_Start.y = y0;
75  m_End.x = x1; m_End.y = y1;
76  }
wxPoint m_Start
Definition: PolyLine.h:62
wxPoint m_End
Definition: PolyLine.h:63

Member Data Documentation

wxPoint CSegment::m_End

Definition at line 63 of file PolyLine.h.

wxPoint CSegment::m_Start

Definition at line 62 of file PolyLine.h.


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