Rotates this vector around a given axis.
Namespace:
Rhino.Geometry
Assembly:
RhinoCommon (in RhinoCommon.dll)
Since: 5.0
Syntax public bool Rotate(
double angleRadians,
Vector3d rotationAxis
)
Public Function Rotate (
angleRadians As Double,
rotationAxis As Vector3d
) As Boolean
Parameters
- angleRadians
- Type: SystemDouble
Angle of rotation (in radians). - rotationAxis
- Type: Rhino.GeometryVector3d
Axis of rotation.
Return Value
Type:
Booleantrue on success, false on failure.
See Also