Matrix2D.setToIdentity Method

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

Description

Resets this matrix to be an identity matrix.

Syntax

"matrix2D_var" is a variable referencing a Matrix2D object.
returnValue = matrix2D_var.setToIdentity()
"matrix2D_var" is a variable referencing a Matrix2D object.

#include <Core/Geometry/Matrix2D.h>

returnValue = matrix2D_var->setToIdentity();

Return Value

Type Description
boolean Returns true if successful.

Version

Introduced in version August 2014