|
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
)
Public Shared Function Rotation (
startDirection As Vector3,
endDirection As Vector3,
rotationCenter As Point3
) As Transform3
public:
static Transform3 Rotation(
Vector3 startDirection,
Vector3 endDirection,
Point3 rotationCenter
)
static member Rotation :
startDirection : Vector3 *
endDirection : Vector3 *
rotationCenter : Point3 -> Transform3
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:
Transform3A transformation matrix which rotates geometry around an anchor point.
See Also