KiCad PCB EDA Suite
EXCELLON_ROUTE_COORD Struct Reference

#include <excellon_image.h>

Public Member Functions

 EXCELLON_ROUTE_COORD ()
 
 EXCELLON_ROUTE_COORD (const VECTOR2I &aPos)
 
 EXCELLON_ROUTE_COORD (const VECTOR2I &aPos, const VECTOR2I &aCenter, int aMode)
 
 EXCELLON_ROUTE_COORD (const VECTOR2I &aPos, int aRadius, int aMode)
 
VECTOR2I GetPos ()
 

Public Attributes

int m_x
 
int m_y
 
int m_cx
 
int m_cy
 
int m_radius
 
int m_rmode
 
int m_arc_type_info
 

Detailed Description

Definition at line 92 of file excellon_image.h.

Constructor & Destructor Documentation

◆ EXCELLON_ROUTE_COORD() [1/4]

EXCELLON_ROUTE_COORD::EXCELLON_ROUTE_COORD ( )
inline

◆ EXCELLON_ROUTE_COORD() [2/4]

EXCELLON_ROUTE_COORD::EXCELLON_ROUTE_COORD ( const VECTOR2I aPos)
inline

Definition at line 109 of file excellon_image.h.

109 :
110 m_x( aPos.x ), m_y( aPos.y ),
111 m_cx( 0 ), m_cy( 0 ), m_radius( 0 ), m_rmode( 0 ),
113 {}
@ ARC_INFO_TYPE_NONE

◆ EXCELLON_ROUTE_COORD() [3/4]

EXCELLON_ROUTE_COORD::EXCELLON_ROUTE_COORD ( const VECTOR2I aPos,
const VECTOR2I aCenter,
int  aMode 
)
inline

Definition at line 115 of file excellon_image.h.

115 :
116 m_x( aPos.x ), m_y( aPos.y ),
117 m_cx( aCenter.x ), m_cy( aCenter.y ), m_radius( 0 ), m_rmode( aMode ),
119 {}
@ ARC_INFO_TYPE_CENTER

◆ EXCELLON_ROUTE_COORD() [4/4]

EXCELLON_ROUTE_COORD::EXCELLON_ROUTE_COORD ( const VECTOR2I aPos,
int  aRadius,
int  aMode 
)
inline

Definition at line 121 of file excellon_image.h.

121 :
122 m_x( aPos.x ), m_y( aPos.y ),
123 m_cx( 0 ), m_cy( 0 ), m_radius( aRadius ), m_rmode( aMode ),
125 {}
@ ARC_INFO_TYPE_RADIUS

Member Function Documentation

◆ GetPos()

VECTOR2I EXCELLON_ROUTE_COORD::GetPos ( )
inline

Definition at line 127 of file excellon_image.h.

127{ return VECTOR2I( m_x, m_y ); }
VECTOR2< int > VECTOR2I
Definition: vector2d.h:618

References m_x, and m_y.

Member Data Documentation

◆ m_arc_type_info

int EXCELLON_ROUTE_COORD::m_arc_type_info

Definition at line 102 of file excellon_image.h.

◆ m_cx

int EXCELLON_ROUTE_COORD::m_cx

Definition at line 96 of file excellon_image.h.

◆ m_cy

int EXCELLON_ROUTE_COORD::m_cy

Definition at line 98 of file excellon_image.h.

◆ m_radius

int EXCELLON_ROUTE_COORD::m_radius

Definition at line 100 of file excellon_image.h.

◆ m_rmode

int EXCELLON_ROUTE_COORD::m_rmode

Definition at line 101 of file excellon_image.h.

◆ m_x

int EXCELLON_ROUTE_COORD::m_x

Definition at line 94 of file excellon_image.h.

Referenced by GetPos().

◆ m_y

int EXCELLON_ROUTE_COORD::m_y

Definition at line 95 of file excellon_image.h.

Referenced by GetPos().


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