@shumoku/core · 0.4.0 · function
findEdgeNodePiercing
APIの説明は英語のcanonical sourceを表示しています。
Find wires that run THROUGH a foreign node box (inflated by `inflate`): any segment crossing one of the box's four borders. A wire may touch its own endpoints' boxes. Grid-accelerated, exact (same predicate as the old routed-score inner loop — this IS that loop, extracted so the score and the constraint check share one definition).
findEdgeNodePiercing(lines: readonly PierceLineSpec[], nodeBoxes: readonly BoxSpec[], inflate?: number): EdgeNodePierce[] パラメーター
| 名前 | 型 | 説明 | 既定値 |
|---|---|---|---|
lines | readonly PierceLineSpec[] | 追加説明はありません。 | — |
nodeBoxes | readonly BoxSpec[] | 追加説明はありません。 | — |
inflate | number | 追加説明はありません。 | 2 |
戻り値
EdgeNodePierce[]