|
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
)
Public Shared Function Rotation (
sin_angle As Double,
cos_angle As Double,
axis As Vector3,
center As Point3
) As Transform3
public:
static Transform3 Rotation(
double sin_angle,
double cos_angle,
Vector3 axis,
Point3 center
)
static member Rotation :
sin_angle : float *
cos_angle : float *
axis : Vector3 *
center : Point3 -> Transform3
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:
Transform3A transformation matrix which rotates geometry around an anchor point.
See Also