Sphere.set Method

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

Description

Sets all of the data defining the sphere.

Syntax

"sphere_var" is a variable referencing a Sphere object.
returnValue = sphere_var.set(origin, radius)
"sphere_var" is a variable referencing a Sphere object.

#include <Core/Geometry/Sphere.h>

returnValue = sphere_var->set(origin, radius);

Return Value

Type Description
boolean Returns true if successful.

Parameters

Name Type Description
origin Point3D The origin point (center) of the sphere.
radius double The radius of the sphere.

Version

Introduced in version August 2014