M_Rhino_Geometry_Vector3d_Rotate - mcneel/rhinocommon-api-docs GitHub Wiki

Vector3d.Rotate Method

Rotates this vector around a given axis.

Namespace: Rhino.Geometry
Assembly: RhinoCommon (in RhinoCommon.dll) Version: Rhino 6.0

Syntax

C#

public bool Rotate(
	double angleRadians,
	Vector3d rotationAxis
)

VB

Public Function Rotate ( 
	angleRadians As Double,
	rotationAxis As Vector3d
) As Boolean

Parameters

 

angleRadians
Type: System.Double
Angle of rotation (in radians).
rotationAxis
Type: Rhino.Geometry.Vector3d
Axis of rotation.

Return Value

Type: Boolean
true on success, false on failure.

Version Information

Supported in: 6.0.16224.21491, 5D58w

See Also

Reference

Vector3d Structure
Rhino.Geometry Namespace

⚠️ **GitHub.com Fallback** ⚠️