Rotate a point around a vector by a given angle.

The beginning of the vector is at the point 0,0,0.

 

ac_request("geometry_calc_3d","RotatePoint3dAroundVect3d",double rx, double ry, double rz, double alpha, double x, double y, double z, double& resx, double& resy, double& resz);


Here:

rx,ry,rz - coordinates of the vector around which to rotate;

alpha - rotation angle;

x,y,z - coordinates of the rotated point;

resx, resy, resz - result.