pytransform3d.rotations.perpendicular_to_vectors

pytransform3d.rotations.perpendicular_to_vectors(a, b)[source]

Compute perpendicular vector to two other vectors.

Parameters
aarray-like, shape (3,)

3d vector

barray-like, shape (3,)

3d vector

Returns
carray-like, shape (3,)

3d vector that is orthogonal to a and b

Examples using pytransform3d.rotations.perpendicular_to_vectors