MCPcopy Create free account
hub / github.com/Kitware/VTK / qv_mult

Function qv_mult

Web/Python/vtkmodules/web/camera.py:31–33  ·  view source on GitHub ↗
(q1, v1)

Source from the content-addressed store, hash-verified

29
30
31def qv_mult(q1, v1):
32 q2 = (0.0,) + v1
33 return q_mult(q_mult(q1, q2), q_conjugate(q1))[1:]
34
35
36def axisangle_to_q(v, theta):

Callers 1

rotateFunction · 0.85

Calls 2

q_multFunction · 0.85
q_conjugateFunction · 0.85

Tested by

no test coverage detected