Cylinder.transformBy Method

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

Description

Updates this surface by transforming it with a given input matrix.

Syntax

"cylinder_var" is a variable referencing a Cylinder object.
returnValue = cylinder_var.transformBy(matrix)
"cylinder_var" is a variable referencing a Cylinder object.

#include <Core/Geometry/Cylinder.h>

returnValue = cylinder_var->transformBy(matrix);

Return Value

Type Description
boolean Returns true if the transform was successful.

Parameters

Name Type Description
matrix Matrix3D A 3D matrix that defines the transform to apply to the surface.

Version

Introduced in version August 2014