Tekla Open API

Detailed and full API reference helps you master Tekla Open API

This is the most recent version of Tekla Open API.
For older versions, please visit Tekla Warehouse.

MatrixFactoryRotate Method

Returns a rotation matrix in a Clockwise rotation around the given rotation axis, defined by the given angle and the given rotation axis.

Namespace:  Tekla.Structures.Geometry3d
Assembly:  Tekla.Structures (in Tekla.Structures.dll) Version: 2018.1.0.0 (2018.1.0.0)
Syntax
public static Matrix Rotate(
	double Angle,
	Vector Axis
)

Parameters

Angle
Type: SystemDouble
The rotation angle (in radians).
Axis
Type: Tekla.Structures.Geometry3dVector
The rotation axis.

Return Value

Type: Matrix
The new rotation matrix.
See Also