This repository has been archived by the owner on Oct 11, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 407
902daa84 ad9e b19a 9d8e 6d277cb0f392
haplokuon edited this page May 6, 2023
·
1 revision
netDxf 3.0.0 Library
Rotate given vector around the specified axis.
Namespace: netDxf
Assembly: netDxf (in netDxf.dll) Version: 3.0.0
C#
public static Vector3 RotateAroundAxis(
Vector3 v,
Vector3 axis,
double angle
)
VB
Public Shared Function RotateAroundAxis (
v As Vector3,
axis As Vector3,
angle As Double
) As Vector3
C++
public:
static Vector3 RotateAroundAxis(
Vector3 v,
Vector3 axis,
double angle
)
F#
static member RotateAroundAxis :
v : Vector3 *
axis : Vector3 *
angle : float -> Vector3
Vector3
The rotated vector.
Method provided by: Idelana. Original Author: Paul Bourke ( http://paulbourke.net/geometry/rotate/ )