MatrixRotationAxis Method
|
Builds a rotation matrix for a rotation around an arbitray u-axis.
Namespace:
DXFReaderNET
Assembly:
DXFReaderNET (in DXFReaderNET.dll) Version: 20.10.54
Syntax public static Matrix RotationAxis(
double angle,
Vector3 u
)
Public Shared Function RotationAxis (
angle As Double,
u As Vector3
) As Matrix
public:
static Matrix RotationAxis(
double angle,
Vector3 u
)
static member RotationAxis :
angle : float *
u : Vector3 -> Matrix
STATIC METHOD RotationAxis(
angle AS REAL8,
u AS Vector3
) AS Matrix
Parameters
- angle
- Type: SystemDouble
The counter-clockwise angle in radians. - u
- Type: DXFReaderNETVector3
The arbitray axis direction.
Return Value
Type:
MatrixThe resulting Matrix instance.
Remarks Matrix adopts the convention of using column vectors to represent three dimensional points.
See Also