KiCad PCB EDA Suite
Loading...
Searching...
No Matches
graphic_extend.h File Reference
#include <math/box2.h>
#include <tools/graphic_edit.h>

Go to the source code of this file.

Namespaces

namespace  GRAPHIC_EXTEND_PLANNER
 

Enumerations

enum class  GRAPHIC_ENDPOINT { START , END }
 

Functions

GRAPHIC_ENDPOINT GRAPHIC_EXTEND_PLANNER::NearestEndpoint (const BOARD_ITEM &aSource, const VECTOR2I &aPointer)
 
BOX2I GRAPHIC_EXTEND_PLANNER::QueryBounds (const BOARD_ITEM &aSource, GRAPHIC_ENDPOINT aEndpoint, const BOX2I &aWorldBounds)
 
GRAPHIC_EDIT_RESULT GRAPHIC_EXTEND_PLANNER::Plan (const BOARD_ITEM &aSource, GRAPHIC_ENDPOINT aEndpoint, const std::vector< const BOARD_ITEM * > &aBoundaries)
 
BOX2I GRAPHIC_EXTEND_PLANNER::QueryBounds (const BOARD_ITEM &aSource, const VECTOR2I &aPointer, const BOX2I &aWorldBounds)
 Take the endpoint from the pointer. What an interactive caller wants.
 
GRAPHIC_EDIT_RESULT GRAPHIC_EXTEND_PLANNER::Plan (const BOARD_ITEM &aSource, const VECTOR2I &aPointer, const std::vector< const BOARD_ITEM * > &aBoundaries)
 

Enumeration Type Documentation

◆ GRAPHIC_ENDPOINT

enum class GRAPHIC_ENDPOINT
strong
Enumerator
START 
END 

Definition at line 28 of file graphic_extend.h.