pytransform3d.rotations
.vector_projection#
- pytransform3d.rotations.vector_projection(a, b)[source]#
Orthogonal projection of vector a on vector b.
- Parameters:
- aarray-like, shape (3,)
Vector a that will be projected on vector b
- barray-like, shape (3,)
Vector b on which vector a will be projected
- Returns:
- a_on_barray, shape (3,)
Vector a
Examples using pytransform3d.rotations.vector_projection
#
Visualize Wrench