@shumoku/core · 0.4.0 · function
findCollinearOverlaps
APIの説明は英語のcanonical sourceを表示しています。
Find pairs of edges with segments that run on the same track: parallel (within ~1°), closer than the sum of their half-widths + clearance, and sharing more than `minSharedLength` of extent. Reports each edge pair once with its longest shared run.
findCollinearOverlaps(lines: readonly PolylineSpec[], options?: CollinearOptions): CollinearOverlap[] パラメーター
| 名前 | 型 | 説明 | 既定値 |
|---|---|---|---|
lines | readonly PolylineSpec[] | 追加説明はありません。 | — |
options | CollinearOptions | 追加説明はありません。 | {} |
戻り値
CollinearOverlap[]