geodalib / core/src / getContiguityNeighborsFromGeomCollection
Function: getContiguityNeighborsFromGeomCollection()
getContiguityNeighborsFromGeomCollection(
input
):Promise
<number
[][]>
Defined in: core/src/weights/contiguity-neighbors.ts:124
Calculates contiguity-based neighbors for a set of geometries.
This function processes geometries to determine spatial relationships between them based on their contiguity (shared boundaries or vertices).
Parameters
input
ContiguityNeighborsFromGeomCollectionProps
Configuration object for neighbor calculation See ContiguityNeighborsFromGeomCollectionProps for more information.
Returns
Promise
<number
[][]>
Array where each element contains indices of neighboring geometries