Torus.minorRadius Property

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

Description

Gets and sets the minor radius of the torus.

Syntax

"torus_var" is a variable referencing a Torus object.

# Get the value of the property.
propertyValue = torus_var.minorRadius

# Set the value of the property.
torus_var.minorRadius = propertyValue
"torus_var" is a variable referencing a Torus object.
#include <Core/Geometry/Torus.h>

// Get the value of the property.
double propertyValue = torus_var->minorRadius();

// Set the value of the property, where value_var is a double.
bool returnValue = torus_var->minorRadius(value_var);

Property Value

This is a read/write property whose value is a double.

Version

Introduced in version August 2014