Matrix2D.setToAlignCoordinateSystems Method
Parent Object:
Matrix2DDefined in namespace "adsk::core" and the header file is <Core/Geometry/Matrix2D.h>
Description
Sets this matrix to be the matrix that maps from the 'from' coordinate system to the 'to' coordinate system.
Syntax
"matrix2D_var" is a variable referencing a Matrix2D object.returnValue = matrix2D_var.setToAlignCoordinateSystems(fromOrigin, fromXAxis, fromYAxis, toOrigin, toXAxis, toYAxis)
|
"matrix2D_var" is a variable referencing a Matrix2D object.
#include <Core/Geometry/Matrix2D.h>
returnValue = matrix2D_var->setToAlignCoordinateSystems(fromOrigin, fromXAxis, fromYAxis, toOrigin, toXAxis, toYAxis);
|
Return Value
boolean |
Returns true if successful. |
Parameters
fromOrigin |
Point2D |
The origin point of the from coordinate system. |
fromXAxis |
Vector2D |
The x axis direction of the from coordinate system. |
fromYAxis |
Vector2D |
The y axis direction of the from coordinate system. |
toOrigin |
Point2D |
The origin point of the to coordinate system. |
toXAxis |
Vector2D |
The x axis direction of the to coordinate system. |
toYAxis |
Vector2D |
The y axis direction of the to coordinate system. |
Version
Introduced in version August 2014