Matrix3D.setToAlignCoordinateSystems Method

Parent Object: Matrix3D
Defined in namespace "adsk::core" and the header file is <Core/Geometry/Matrix3D.h>

Description

Sets this matrix to be the matrix that maps from the 'from' coordinate system to the 'to' coordinate system.

Syntax

"matrix3D_var" is a variable referencing a Matrix3D object.
returnValue = matrix3D_var.setToAlignCoordinateSystems(fromOrigin, fromXAxis, fromYAxis, fromZAxis, toOrigin, toXAxis, toYAxis, toZAxis)
"matrix3D_var" is a variable referencing a Matrix3D object.

#include <Core/Geometry/Matrix3D.h>

returnValue = matrix3D_var->setToAlignCoordinateSystems(fromOrigin, fromXAxis, fromYAxis, fromZAxis, toOrigin, toXAxis, toYAxis, toZAxis);

Return Value

Type Description
boolean Returns true if successful.

Parameters

Name Type Description
fromOrigin Point3D The origin point of the from coordinate system.
fromXAxis Vector3D The x axis direction of the from coordinate system.
fromYAxis Vector3D The y axis direction of the from coordinate system.
fromZAxis Vector3D The z axis direction of the from coordinate system.
toOrigin Point3D The origin point of the to coordinate system.
toXAxis Vector3D The x axis direction of the to coordinate system.
toYAxis Vector3D The y axis direction of the to coordinate system.
toZAxis Vector3D The z axis direction of the to coordinate system.

Version

Introduced in version August 2014