Sphere.getData Method
Parent Object:
SphereDefined in namespace "adsk::core" and the header file is <Core/Geometry/Sphere.h>
Description
Gets all of the data defining the sphere.
Syntax
"sphere_var" is a variable referencing a Sphere object.
(returnValue, origin, radius) = sphere_var.getData()
|
#include <Core/Geometry/Sphere.h
// Declare the output arguments. Ptr<Point3D> origin; double radius; boolean returnValue = sphere_var->getData(origin, radius);
|
Return Value
boolean |
Returns true if successful. |
Parameters
origin |
Point3D |
The output origin point (center) of the sphere. |
radius |
double |
The output radius of the sphere. |
Version
Introduced in version August 2014