UsageΒΆ
Then you can use the library from python such as the example below:
import nglpy
import numpy as np
point_set = np.random.rand(100,2)
max_neighbors = 9
beta = 1
aGraph = nglpy.EmptyRegionGraph(max_neighbors=max_neighbors, relaxed=False, beta=beta)
aGraph.build(point_set)
aGraph.neighbors()