'Declaration Public Shared Function CreateRotationRadians( _
ByVal angleThe rotation angle, measured in radians.As Double, _
ByVal vectorXThe X coordinate of axis vector, relative to which the matrix must be rotated.As Double, _
ByVal vectorYThe Y coordinate of axis vector, relative to which the matrix must be rotated.As Double, _
ByVal vectorZThe Zcoordinate of axis vector, relative to which the matrix must be rotated.As Double, _
ByVal centerXThe X coordinate of point, relative to which the matrix must be rotated.As Double, _
ByVal centerYThe Y coordinate of point, relative to which the matrix must be rotated.As Double, _
ByVal centerZThe Z coordinate of point, relative to which the matrix must be rotated.As Double _
) As AffineMatrix3D
public static AffineMatrix3D CreateRotationRadians(
double angle,
double vectorX,
double vectorY,
double vectorZ,
double centerX,
double centerY,
double centerZ
)
Parameters
- angle
- The rotation angle, measured in radians.
- vectorX
- The X coordinate of axis vector, relative to which the matrix must be rotated.
- vectorY
- The Y coordinate of axis vector, relative to which the matrix must be rotated.
- vectorZ
- The Zcoordinate of axis vector, relative to which the matrix must be rotated.
- centerX
- The X coordinate of point, relative to which the matrix must be rotated.
- centerY
- The Y coordinate of point, relative to which the matrix must be rotated.
- centerZ
- The Z coordinate of point, relative to which the matrix must be rotated.
Return Value
The matrix, which is rotated relative the specified point.