Compute_Offaxis_Rotation

Functions

void Compute_Offaxis_Rotation (double x, double y, double z, double theta, float *out_matrix)
 
void DCompute_Offaxis_Rotation (double x, double y, double z, double theta, double *out_matrix)
 Similar to Compute_Offaxis_Rotation, but operates on double-precision data. More...
 

Detailed Description

Function Documentation

◆ Compute_Offaxis_Rotation()

void Compute_Offaxis_Rotation ( double  x,
double  y,
double  z,
double  theta,
float *  out_matrix 
)
Parameters
x- X coordinate of the vector that specifies the axis of rotation
y- Y coordinate of the vector that specifies the axis of rotation
z- Z coordinate of the vector that specifies the axis of rotation
theta- Angle of rotation.
out_matrix- Output transformation matrix. Returned to caller.

DETAILS

Compute_Offaxis_Rotation() produces a matrix that represents a rotation about an arbitrary axis passing through the origin.

NOTES

RESTRICTIONS

See also
Compute_Offcenter_Rotation, Set_Modelling_Matrix

◆ DCompute_Offaxis_Rotation()

void DCompute_Offaxis_Rotation ( double  x,
double  y,
double  z,
double  theta,
double *  out_matrix 
)

Similar to Compute_Offaxis_Rotation, but operates on double-precision data.

Parameters
x- X coordinate of the vector that specifies the axis of rotation
y- Y coordinate of the vector that specifies the axis of rotation
z- Z coordinate of the vector that specifies the axis of rotation
theta- Angle of rotation.
out_matrix- Output transformation matrix. Returned to caller.