20#ifndef PCB_HANDLE_KEY_H
21#define PCB_HANDLE_KEY_H
71 PCB_HANDLE_KEY(
const KIID& aParent,
bool aIsLine,
int aIndex,
unsigned aPointCount,
unsigned aLineCount );
EDIT_POINTS is a VIEW_ITEM that manages EDIT_POINTs and EDIT_LINEs and draws them.
Represent a single point that can be used for modifying items.
Lasting name for one handle in an EDIT_POINTS collection.
bool operator<(const PCB_HANDLE_KEY &aOther) const
bool operator==(const PCB_HANDLE_KEY &aOther) const
EDIT_POINT * Resolve(EDIT_POINTS &aPoints) const
Find this key's handle in a collection, usually after it was rebuilt.
const KIID & Parent() const
static std::optional< PCB_HANDLE_KEY > Make(const EDIT_POINTS &aPoints, const EDIT_POINT *aPoint)
Build the key for a handle in a collection.
PCB_HANDLE_KEY(const KIID &aParent, bool aIsLine, int aIndex, unsigned aPointCount, unsigned aLineCount)