20#ifndef BLOCK_DRAG_VALIDATION_H
21#define BLOCK_DRAG_VALIDATION_H
62 std::vector<std::pair<ZONE*, bool>>
m_zones;
BLOCK_DRAG_VALIDATION_RESULT
@ INVALID_OUTLINE
The board outline was closed before the drag and the moved Edge.Cuts broke it.
@ INVALID_ZONE
A zone that came along lost its valid outline.
void CaptureBaseline(const std::vector< BOARD_ITEM * > &aCarriedItems)
Note whether the zones coming along, and the board outline, were valid to start with.
BLOCK_DRAG_VALIDATION_RESULT Validate() const
bool outlineIsValid() const
BLOCK_DRAG_VALIDATION(BOARD &aBoard)
std::vector< std::pair< ZONE *, bool > > m_zones
A base class for any item which can be embedded within the BOARD container class, and therefore insta...
Information pertinent to a Pcbnew printed circuit board.
Handle a list of polygons defining a copper zone.