MCPcopy
hub / github.com/princeton-vl/infinigen / append

Method append

infinigen/assets/objects/trees/tree.py:46–54  ·  view source on GitHub ↗
(self, v, p, l=None)

Source from the content-addressed store, hash-verified

44 return edges[edges[:, 1] != -1]
45
46 def append(self, v, p, l=None):
47 self.vtxs = np.append(self.vtxs, v, axis=0)
48 self.parent += p
49
50 if l is None:
51 l = [0] * len(v)
52 elif isinstance(l, int):
53 l = [l] * len(v)
54 self.level += l
55
56 def __len__(self):
57 return len(self.vtxs)

Callers 15

setup.pyFile · 0.45
parse_scene_logFunction · 0.45
test_step_memoryFunction · 0.45
test_gtFunction · 0.45
parse_scene_logFunction · 0.45
scene_foldersFunction · 0.45
parse_run_dfFunction · 0.45
fuzzy_mergeFunction · 0.45
pytest_generate_testsFunction · 0.45
verify_mjcf_outputFunction · 0.45
pytest_generate_testsFunction · 0.45

Calls

no outgoing calls