封鎖 >ConnectionDB >getNeighbours

ConnectionDB.getNeighbours() 方法

尋找位於指定連線的所有附近連線。類型檢查功能不適用,因為這個函式是針對凸出。

Signature:

getNeighbours(connection: RenderedConnection, maxRadius: number): RenderedConnection[];

參數

參數 類型 說明
連線 RenderedConnection 應傳回鄰點的連線。
maxRadius 數字 另一個連線的最大半徑。

傳回:

RenderedConnection[]

連線清單。