Torus.transformBy Method

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

Description

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

Syntax

"torus_var" is a variable referencing a Torus object.
returnValue = torus_var.transformBy(matrix)
"torus_var" is a variable referencing a Torus object.

#include <Core/Geometry/Torus.h>

returnValue = torus_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