| PoseDFromMatrix Method (Matrix44D) |
Creates a
PoseD from a matrix that contains a translation and a rotation.
Namespace: DigitalRune.GeometryAssembly: DigitalRune.Geometry (in DigitalRune.Geometry.dll) Version: 1.18.0.0 (1.18.2.14427)
Syntax public static PoseD FromMatrix(
Matrix44D poseMatrix
)
Public Shared Function FromMatrix (
poseMatrix As Matrix44D
) As PoseD
public:
static PoseD FromMatrix(
Matrix44D poseMatrix
)
static member FromMatrix :
poseMatrix : Matrix44D -> PoseD
Parameters
- poseMatrix
- Type: DigitalRune.Mathematics.AlgebraMatrix44D
The pose matrix.
Return Value
Type:
PoseDA pose that represents the same transformation as the 4x4-matrix.
Remarks poseMatrix must only contain rotations and translations, otherwise the
result is undefined.
See Also