Click or drag to resize

Transform3Rotation Method (Double, 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 sin_angle,
	double cos_angle,
	Vector3 axis,
	Point3 center
)

Parameters

sin_angle
Type: SystemDouble
Sin of the rotation angle.
cos_angle
Type: SystemDouble
Cos of the rotation angle.
axis
Type: Karamba.GeometryVector3
Axis direction of rotation.
center
Type: Karamba.GeometryPoint3
Center point of rotation.

Return Value

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