TransformRotation Method (Double, Double, Vector3d, Point3d) |
Constructs a new rotation transformation with specified angle, rotation center and rotation axis.
Namespace:
Rhino.Geometry
Assembly:
RhinoCommon (in RhinoCommon.dll)
Since: 5.0
Syntax public static Transform Rotation(
double sinAngle,
double cosAngle,
Vector3d rotationAxis,
Point3d rotationCenter
)
Public Shared Function Rotation (
sinAngle As Double,
cosAngle As Double,
rotationAxis As Vector3d,
rotationCenter As Point3d
) As Transform
Parameters
- sinAngle
- Type: SystemDouble
Sine of the rotation angle. - cosAngle
- Type: SystemDouble
Cosine of the rotation angle. - rotationAxis
- Type: Rhino.GeometryVector3d
3D unit axis of rotation. - rotationCenter
- Type: Rhino.GeometryPoint3d
3D center of rotation.
Return Value
Type:
TransformA rotation transformation matrix.
See Also