PlaneRotate Method (Double, Double, Vector3d, Point3d) |
Rotate the plane about a custom anchor point.
Namespace:
Rhino.Geometry
Assembly:
RhinoCommon (in RhinoCommon.dll)
Since: 5.0
Syntax public bool Rotate(
double sinAngle,
double cosAngle,
Vector3d axis,
Point3d centerOfRotation
)
Public Function Rotate (
sinAngle As Double,
cosAngle As Double,
axis As Vector3d,
centerOfRotation As Point3d
) As Boolean
Parameters
- sinAngle
- Type: SystemDouble
Sin(angle) - cosAngle
- Type: SystemDouble
Cos(angle) - axis
- Type: Rhino.GeometryVector3d
Axis of rotation. - centerOfRotation
- Type: Rhino.GeometryPoint3d
Center of rotation.
Return Value
Type:
Booleantrue on success, false on failure.
See Also