MathHelperRotateAboutAxis Method
|
Rotate given vector of angle in radians about a specified axis.
Namespace:
DXFReaderNET
Assembly:
DXFReaderNET (in DXFReaderNET.dll) Version: 20.10.54
Syntax public static Vector3 RotateAboutAxis(
Vector3 v,
Vector3 axis,
double angle
)
Public Shared Function RotateAboutAxis (
v As Vector3,
axis As Vector3,
angle As Double
) As Vector3
public:
static Vector3 RotateAboutAxis(
Vector3 v,
Vector3 axis,
double angle
)
static member RotateAboutAxis :
v : Vector3 *
axis : Vector3 *
angle : float -> Vector3
STATIC METHOD RotateAboutAxis(
v AS Vector3,
axis AS Vector3,
angle AS REAL8
) AS Vector3
Parameters
- v
- Type: DXFReaderNETVector3
Vector to rotate. - axis
- Type: DXFReaderNETVector3
Rotation axis. This vector should be normalized. - angle
- Type: SystemDouble
Rotation angle in radians.
Return Value
Type:
Vector3A copy of the vector, rotated.
See Also