MCPcopy Create free account
hub / github.com/PyMesh/PyMesh / __apply_vertex_offset

Method __apply_vertex_offset

python/pymesh/wires/Tiler.py:62–65  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

60 raise RuntimeError("Base pattern array is not set!")
61
62 def __apply_vertex_offset(self):
63 vertices = self.raw_wire_network.get_vertices()
64 offset = self.raw_wire_network.get_attribute("vertex_offset")
65 self.raw_wire_network.set_vertices(vertices + offset)
66
67 @property
68 def wire_network(self):

Callers 3

tile_with_guide_bboxMethod · 0.95
tile_with_guide_meshMethod · 0.95

Calls 3

get_verticesMethod · 0.45
get_attributeMethod · 0.45
set_verticesMethod · 0.45

Tested by

no test coverage detected