M_Rhino_Geometry_Plane_Rotate_3 - mcneel/rhinocommon-api-docs GitHub Wiki

Plane.Rotate Method (Double, Double, Vector3d, Point3d)

Rotate the plane about a custom anchor point.

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

Syntax

C#

public bool Rotate(
	double sinAngle,
	double cosAngle,
	Vector3d axis,
	Point3d centerOfRotation
)

VB

Public Function Rotate ( 
	sinAngle As Double,
	cosAngle As Double,
	axis As Vector3d,
	centerOfRotation As Point3d
) As Boolean

Parameters

 

sinAngle
Type: System.Double
Sin(angle)
cosAngle
Type: System.Double
Cos(angle)
axis
Type: Rhino.Geometry.Vector3d
Axis of rotation.
centerOfRotation
Type: Rhino.Geometry.Point3d
Center of rotation.

Return Value

Type: Boolean
true on success, false on failure.

Version Information

Supported in: 6.0.16224.21491, 5D58w

See Also

Reference

Plane Structure
Rotate Overload
Rhino.Geometry Namespace

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