Shumoku Docs

ドキュメントを検索

共通文書と現行公開版

検索を読み込み中…

English

@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[]

libs/@shumoku/core/src/layout/invariants.ts:436