Polyline2D.transformBy Method

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

Description

Transforms this curve in 2D space.

Syntax

"polyline2D_var" is a variable referencing a Polyline2D object.
returnValue = polyline2D_var.transformBy(matrix)
"polyline2D_var" is a variable referencing a Polyline2D object.

#include <Core/Geometry/Polyline2D.h>

returnValue = polyline2D_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 September 2024