Curve2D.transformBy Method

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

Description

Transforms this curve in 2D space.

Syntax

"curve2D_var" is a variable referencing a Curve2D object.
returnValue = curve2D_var.transformBy(matrix)
"curve2D_var" is a variable referencing a Curve2D object.

#include <Core/Geometry/Curve2D.h>

returnValue = curve2D_var->transformBy(matrix);

Return Value

Type Description
boolean Return true if the transform was successful.

Parameters

Name Type Description
matrix Matrix2D A 2D matrix that defines the transform to apply to the curve.

Version

Introduced in version August 2014