Click or drag to resize

Transform3Rotation Method (Vector3, Vector3, Point3)

Constructs a new rotation transformation with start and end directions 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(
	Vector3 startDirection,
	Vector3 endDirection,
	Point3 rotationCenter
)

Parameters

startDirection
Type: Karamba.GeometryVector3
A start direction.
endDirection
Type: Karamba.GeometryVector3
An end direction.
rotationCenter
Type: Karamba.GeometryPoint3
A rotation center.

Return Value

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