|
Transform3Rotation Method (Double, Point3)
|
Constructs a new rotation transformation with specified angle and rotation center.
Namespace:
Karamba.Geometry
Assembly:
KarambaCommon (in KarambaCommon.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax public static Transform3 Rotation(
double angleRadians,
Point3 rotationCenter
)
Public Shared Function Rotation (
angleRadians As Double,
rotationCenter As Point3
) As Transform3
public:
static Transform3 Rotation(
double angleRadians,
Point3 rotationCenter
)
static member Rotation :
angleRadians : float *
rotationCenter : Point3 -> Transform3
Parameters
- angleRadians
- Type: SystemDouble
Angle (in Radians) of the rotation. - rotationCenter
- Type: Karamba.GeometryPoint3
Center point of rotation. Rotation axis is vertical.
Return Value
Type:
Transform3A transformation matrix which rotates geometry around an anchor point.
See Also