Sphere.radius Property
Parent Object:
SphereDefined in namespace "adsk::core" and the header file is <Core/Geometry/Sphere.h>
Description
Gets and sets the radius of the sphere.
Syntax
"sphere_var" is a variable referencing a Sphere object.
# Get the value of the property. propertyValue = sphere_var.radius
# Set the value of the property. sphere_var.radius = propertyValue
|
"sphere_var" is a variable referencing a Sphere object.
#include <Core/Geometry/Sphere.h>
// Get the value of the property. double propertyValue = sphere_var->radius();
// Set the value of the property, where value_var is a double. bool returnValue = sphere_var->radius(value_var);
|
Property Value
This is a read/write property whose value is a double.
Version
Introduced in version August 2014