Sphere.transformBy Method

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

Description

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

Syntax

"sphere_var" is a variable referencing a Sphere object.
returnValue = sphere_var.transformBy(matrix)
"sphere_var" is a variable referencing a Sphere object.

#include <Core/Geometry/Sphere.h>

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