Vector2D.transformBy Method

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

Description

Transforms the vector by specifying a 2D transformation matrix.

Syntax

"vector2D_var" is a variable referencing a Vector2D object.
returnValue = vector2D_var.transformBy(matrix)
"vector2D_var" is a variable referencing a Vector2D object.

#include <Core/Geometry/Vector2D.h>

returnValue = vector2D_var->transformBy(matrix);

Return Value

Type Description
boolean Returns true if successful.

Parameters

Name Type Description
matrix Matrix2D The Matrix2D object that defines the transformation.

Version

Introduced in version August 2014