pytransform3d.transformations
.vectors_to_points¶
- pytransform3d.transformations.vectors_to_points(V)[source]¶
Convert 3D vectors to positions.
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 (n_points, 3)
Each row is a 3D vector that contains x, y, and z
- Returns:
- Parray-like, shape (n_points, 4)
Each row is a point vector with 1 as last element
Examples using pytransform3d.transformations.vectors_to_points
¶
Visualize Wrench