Description
Returns 3D point which is the result of rotation of this vector around the line with axis passing through the origin. Rotation angle is given by the argument angle, where positive direction of rotation is defined by the right-hand rule.
Visual Basic
Public Function RotateBy( angle As double, axis As Vector3d ) As Vector3d
C#
public Vector3d RotateBy( double angle, Vector3d axis );
Parameters
| Parameters | Description |
|---|---|
| double angle | Input angle of rotation |
| Vector3d axis | Input axis of rotation |