KiCad PCB EDA Suite
Loading...
Searching...
No Matches
pcb_point_editor.cpp File Reference
#include <functional>
#include <memory>
#include <advanced_config.h>
#include <kiplatform/ui.h>
#include <tool/tool_manager.h>
#include <view/view_controls.h>
#include <gal/graphics_abstraction_layer.h>
#include <geometry/seg.h>
#include <confirm.h>
#include <tools/pcb_actions.h>
#include <tools/pcb_selection_tool.h>
#include <tools/pcb_point_editor.h>
#include <tools/pcb_grid_helper.h>
#include <tools/generator_tool.h>
#include <dialogs/dialog_unit_entry.h>
#include <board_commit.h>
#include <pcb_edit_frame.h>
#include <pcb_reference_image.h>
#include <pcb_generator.h>
#include <pcb_dimension.h>
#include <pcb_textbox.h>
#include <pcb_tablecell.h>
#include <pcb_table.h>
#include <pad.h>
#include <zone.h>
#include <footprint.h>
#include <footprint_editor_settings.h>
#include <connectivity/connectivity_data.h>
#include <progress_reporter.h>

Go to the source code of this file.

Enumerations

enum  SEG_POINTS { SEG_START , SEG_END }
 
enum  RECT_POINTS { RECT_TOP_LEFT , RECT_TOP_RIGHT , RECT_BOT_RIGHT , RECT_BOT_LEFT }
 
enum  RECT_LINES { RECT_TOP , RECT_RIGHT , RECT_BOT , RECT_LEFT }
 
enum  TABLECELL_POINTS { COL_WIDTH , ROW_HEIGHT , COL_WIDTH , ROW_HEIGHT }
 
enum  ARC_POINTS {
  ARC_START , ARC_END , ARC_CENTER , ARC_START ,
  ARC_MID , ARC_END , ARC_CENTER
}
 
enum  CIRCLE_POINTS { CIRC_CENTER , CIRC_END , CIRC_CENTER , CIRC_END }
 
enum  BEZIER_POINTS {
  BEZIER_START , BEZIER_CTRL_PT1 , BEZIER_CTRL_PT2 , BEZIER_END ,
  BEZIER_START , BEZIER_CTRL_PT1 , BEZIER_CTRL_PT2 , BEZIER_END
}
 
enum  DIMENSION_POINTS {
  DIM_START , DIM_END , DIM_TEXT , DIM_CROSSBARSTART ,
  DIM_CROSSBAREND , DIM_KNEE = DIM_CROSSBARSTART
}
 

Functions

static std::pair< bool, SHAPE_POLY_SET::VERTEX_INDEXfindVertex (SHAPE_POLY_SET &aPolySet, const EDIT_POINT &aPoint)
 

Enumeration Type Documentation

◆ ARC_POINTS

enum ARC_POINTS
Enumerator
ARC_START 
ARC_END 
ARC_CENTER 
ARC_START 
ARC_MID 
ARC_END 
ARC_CENTER 

Definition at line 85 of file pcb_point_editor.cpp.

◆ BEZIER_POINTS

Enumerator
BEZIER_START 
BEZIER_CTRL_PT1 
BEZIER_CTRL_PT2 
BEZIER_END 
BEZIER_START 
BEZIER_CTRL_PT1 
BEZIER_CTRL_PT2 
BEZIER_END 

Definition at line 97 of file pcb_point_editor.cpp.

◆ CIRCLE_POINTS

Enumerator
CIRC_CENTER 
CIRC_END 
CIRC_CENTER 
CIRC_END 

Definition at line 91 of file pcb_point_editor.cpp.

◆ DIMENSION_POINTS

Enumerator
DIM_START 
DIM_END 
DIM_TEXT 
DIM_CROSSBARSTART 
DIM_CROSSBAREND 
DIM_KNEE 

Definition at line 106 of file pcb_point_editor.cpp.

◆ RECT_LINES

enum RECT_LINES
Enumerator
RECT_TOP 
RECT_RIGHT 
RECT_BOT 
RECT_LEFT 

Definition at line 73 of file pcb_point_editor.cpp.

◆ RECT_POINTS

Enumerator
RECT_TOP_LEFT 
RECT_TOP_RIGHT 
RECT_BOT_RIGHT 
RECT_BOT_LEFT 

Definition at line 67 of file pcb_point_editor.cpp.

◆ SEG_POINTS

enum SEG_POINTS
Enumerator
SEG_START 
SEG_END 

Definition at line 61 of file pcb_point_editor.cpp.

◆ TABLECELL_POINTS

Enumerator
COL_WIDTH 
ROW_HEIGHT 
COL_WIDTH 
ROW_HEIGHT 

Definition at line 79 of file pcb_point_editor.cpp.

Function Documentation

◆ findVertex()