spkit.geometry.get_adjacency_matrix_depth

spkit.geometry.get_adjacency_matrix_depth(V, F, depth=1, remove_self_con=True, ignore_matrix=False)

Create Adjacency Matrix based on Trianglution Connection Depth

Parameters:
V: (n,3)
  • n points in space

F: (m,3)
  • m faces of triangulation

Returns:
AdjM: (n,n)
  • Binary Adjacency Matrix

node2C: dict,
  • Dictionary of node to connection list node2C[node_a] = list_of_nodes_connected_to_node_a