Click or drag to resize

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
)

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: Vector3
A copy of the vector, rotated.
See Also