attach method
attachToWall over doc's cached runs and neighbours, exclude
(the instance a move carries, D8) not a neighbour, keeping keep's
linear part when given (F-7).
Implementation
WallAttachment? attach(
DraftDocument doc,
SymbolBox box,
Vector2 p,
double captureWorld, {
required bool mirrored,
required double edgeCaptureWorld,
Handle? exclude,
Transform2? keep,
}) {
_refresh(doc);
return attachToWall(_runs, box, p, captureWorld,
mirrored: mirrored,
neighbours: _neighbours,
edgeCaptureWorld: edgeCaptureWorld,
exclude: exclude,
keep: keep);
}