Transform3Rotation(Vector3, Vector3, Point3) Method

Constructs a new rotation transformation with start and end directions and rotation center.

Definition

Namespace: Karamba.Geometry
Assembly: KarambaCommon (in KarambaCommon.dll) Version: 3.0.8.0+eb23a7103f0eca0b6d808121e15fec6899194e15
C#
public static Transform3 Rotation(
	Vector3 startDirection,
	Vector3 endDirection,
	Point3 rotationCenter
)

Parameters

startDirection  Vector3
A start direction.
endDirection  Vector3
An end direction.
rotationCenter  Point3
A rotation center.

Return Value

Transform3
A transformation matrix which rotates geometry around an anchor point.

See Also