Transform2dRotation Method (Double, Double, Point2d) |
Constructs a new rotation transformation from the sine and cosine of an angle
and a specified rotation center.
Namespace:
Rhino.Geometry
Assembly:
RhinoCommon (in RhinoCommon.dll)
Since: 9.0
Syntaxpublic static Transform2d Rotation(
double sinAngle,
double cosAngle,
Point2d rotationCenter
)
Public Shared Function Rotation (
sinAngle As Double,
cosAngle As Double,
rotationCenter As Point2d
) As Transform2d
Parameters
- sinAngle
- Type: SystemDouble
The sine of the rotation angle. - cosAngle
- Type: SystemDouble
The cosine of the rotation angle. - rotationCenter
- Type: Rhino.GeometryPoint2d
The fixed point of the rotation.
Return Value
Type:
Transform2dA rotation transformation, or Transform2d.Nan if the input is not valid.
See Also