def __init__(self, *args, **kwargs):
if not args and not kwargs:
setattr(self, "vertex", pd.DataFrame())
for dic in args:
for k in dic:
After Change
def __init__(self, **kwargs):
if "points" not in kwargs:
raise ValueError("There must be a "points" key in the kwargs")
elif not set(["x", "y", "z"]).issubset(kwargs["points"].columns):
raise ValueError("Points must have x, y and z coordinates")
self.kdtrees = []
self.octrees = []
self.voxelgrids = []
for key in kwargs:
if "kdtree" in key: