MCPcopy Create free account
hub / github.com/daavoo/pyntcloud / point_in_array_2D

Function point_in_array_2D

pyntcloud/utils/array.py:114–118  ·  view source on GitHub ↗
(point, array_2D)

Source from the content-addressed store, hash-verified

112
113
114def point_in_array_2D(point, array_2D):
115 point = np.array(point, dtype=array_2D.dtype)
116 for other_point in array_2D:
117 if np.all(point == other_point):
118 return True
119
120
121def cov3D(k_neighbors):

Calls

no outgoing calls