MCPcopy Create free account
hub / github.com/Valdecy/pyCombinatorial / remove_point

Function remove_point

pyCombinatorial/algorithm/conc_hull.py:113–117  ·  view source on GitHub ↗
(points, point_)

Source from the content-addressed store, hash-verified

111
112# Function: Remove Point
113def remove_point(points, point_):
114 mask = np.logical_or(points[:,0] != point_[0], points[:,1] != point_[1])
115 mask = [item for item in mask]
116 coords = points[mask]
117 return coords
118
119############################################################################
120

Callers 1

ConcaveHullFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected