Click or drag to resize

Transform3Rotation Method (Double, Vector3, Point3)

Constructs a new rotation transformation with specified angle, rotation center and rotation axis.

Namespace:  Karamba.Geometry
Assembly:  KarambaCommon (in KarambaCommon.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public static Transform3 Rotation(
	double angleRadians,
	Vector3 rotationAxis,
	Point3 rotationCenter
)

Parameters

angleRadians
Type: SystemDouble
Angle (in Radians) of the rotation.
rotationAxis
Type: Karamba.GeometryVector3
Axis direction of rotation operation.
rotationCenter
Type: Karamba.GeometryPoint3
Center point of rotation. Rotation axis is vertical.

Return Value

Type: Transform3
A transformation matrix which rotates geometry around an anchor point.
See Also