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

Method transformPoints

Lib/pagebot/mathematics/transform3d.py:145–149  ·  view source on GitHub ↗
(self, points)

Source from the content-addressed store, hash-verified

143 return self.transformPoints([pt])[0]
144
145 def transformPoints(self, points):
146 points = _dotProduct(points, self.matrix)
147 if self.offset != (0, 0, 0):
148 points = list(_offsetArray3D(points, self.offset))
149 return points
150
151 def getAffineTransform2D(self, axis=1):
152 matrix = self.matrix

Callers 1

transformPointMethod · 0.95

Calls 2

_dotProductFunction · 0.85
_offsetArray3DFunction · 0.85

Tested by

no test coverage detected