Sphere.set Method
Parent Object:
SphereDefined 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
boolean |
Returns true if successful. |
Parameters
origin |
Point3D |
The origin point (center) of the sphere. |
radius |
double |
The radius of the sphere. |
Version
Introduced in version August 2014