MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / intersects

Function intersects

ui/src/lib/screens-model.ts:707–709  ·  view source on GitHub ↗
(a: Rect, b: Rect, gapX: number)

Source from the content-addressed store, hash-verified

705}
706
707function intersects(a: Rect, b: Rect, gapX: number): boolean {
708 return a.x < b.x + b.w + gapX && b.x < a.x + a.w + gapX && a.y < b.y + b.h && b.y < a.y + a.h;
709}
710
711/**
712 * Lay a pill beside the box at `end` of the edge: the first lane whose pill

Callers 1

layPillFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected