Rotation wrapper for homogeneous (affine) coordinate transformation. More...

Modules

 rotate_coord
 The C++ interface for rotate wrapper for affine transformations.
 

Detailed Description

Rotation wrapper for homogeneous (affine) coordinate transformation.

The rotation wrapper for affine transforms takes as input the vertex array as in the transform_coord function, an axis about which to rotate the coordinates (0 = x, 1 = y, 2 = z) and the angle in radian to rotate the coordinates.

The wrapper creates a transformation matrix and computes the homogeneous transform. The array of rotated coordinates is returned.