20#ifndef CONSTRAINT_COPY_H
21#define CONSTRAINT_COPY_H
61 const std::map<KIID, KIID>& aIdMap );
A geometric constraint between board items (issue #2329).
std::set< KIID > CollectConstraintScopeIds(const PCB_SELECTION &aSelection)
Shared logic deciding which constraints follow items through copy paste or duplicate.
std::vector< PCB_CONSTRAINT * > CloneFullySelectedConstraints(const CONSTRAINTS &aSource, const std::map< KIID, KIID > &aIdMap)
Clone the constraints in aSource that a duplicate should carry.
bool ConstraintFullySelected(const PCB_CONSTRAINT *aConstraint, const std::set< KIID > &aScopeIds)
True when aConstraint has members and every one of them is present in aScopeIds, so the whole relatio...
std::deque< PCB_CONSTRAINT * > CONSTRAINTS