M_Rhino_Geometry_Transform_Rotation_4 - mcneel/rhinocommon-api-docs GitHub Wiki
Constructs a new rotation transformation with specified angle, rotation center and rotation axis.
Namespace: Rhino.Geometry
Assembly: RhinoCommon (in RhinoCommon.dll) Version: Rhino 6.0
C#
public static Transform Rotation(
double sinAngle,
double cosAngle,
Vector3d rotationAxis,
Point3d rotationCenter
)
VB
Public Shared Function Rotation (
sinAngle As Double,
cosAngle As Double,
rotationAxis As Vector3d,
rotationCenter As Point3d
) As Transform
- sinAngle
- Type: System.Double
Sin of the rotation angle. - cosAngle
- Type: System.Double
Cos of the rotation angle. - rotationAxis
- Type: Rhino.Geometry.Vector3d
Axis direction of rotation. - rotationCenter
- Type: Rhino.Geometry.Point3d
Center point of rotation.
Type: Transform
A transformation matrix which rotates geometry around an anchor point.
Supported in: 6.0.16224.21491, 5D58w
Transform Structure
Rotation Overload
Rhino.Geometry Namespace