RhinoCommon API
Vector3dRotate Method |
Rotates this vector around a given axis.
Namespace: Rhino.Geometry
Assembly: RhinoCommon (in RhinoCommon.dll)
Since: 5.0
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.