pytransform3d.transformations
.vector_to_point#
- pytransform3d.transformations.vector_to_point(v)[source]#
Convert 3D vector to position.
A point (x, y, z) given by the components of a vector will be represented by [x, y, z, 1] in homogeneous coordinates to which we can apply a transformation.
- Parameters:
- varray-like, shape (3,)
3D vector that contains x, y, and z
- Returns:
- parray-like, shape (4,)
Point vector with 1 as last element
See also
pytransform3d.transformations.vectors_to_points
Convert 3D vectors to points in homogeneous coordinates.
pytransform3d.transformations.vector_to_direction
Convert one 3D vector to a direction in homogeneous coordinates.
pytransform3d.transformations.vectors_to_directions
Convert 3D vectors to directions in homogeneous coordinates.
Examples using pytransform3d.transformations.vector_to_point
#
Managing Transformations over Time
Managing Transformations over Time
Visualize Wrench