Matrix2D.setWithCoordinateSystem Method
Parent Object:
Matrix2DDefined in namespace "adsk::core" and the header file is <Core/Geometry/Matrix2D.h>
Description
Reset this matrix to align with a specific coordinate system.
Syntax
"matrix2D_var" is a variable referencing a Matrix2D object.returnValue = matrix2D_var.setWithCoordinateSystem(origin, xAxis, yAxis)
|
"matrix2D_var" is a variable referencing a Matrix2D object.
#include <Core/Geometry/Matrix2D.h>
returnValue = matrix2D_var->setWithCoordinateSystem(origin, xAxis, yAxis);
|
Return Value
boolean |
Returns true if successful. |
Parameters
origin |
Point2D |
The origin point of the coordinate system. |
xAxis |
Vector2D |
The x axis direction of the coordinate system. |
yAxis |
Vector2D |
The y axis direction of the coordinate system. |
Version
Introduced in version August 2014