MCPcopy Create free account
hub / github.com/PageBot/PageBot / _offsetArray3D

Function _offsetArray3D

Lib/pagebot/mathematics/transform3d.py:34–38  ·  view source on GitHub ↗
(array, offset)

Source from the content-addressed store, hash-verified

32 return tuple(output)
33
34def _offsetArray3D(array, offset):
35 dx, dy, dz = offset
36
37 for x, y, z in array:
38 yield x+dx, y+dy, z+dz
39
40class Transform3D:
41 """

Callers 1

transformPointsMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected