Cone.halfAngle Property
Parent Object:
ConeDefined in namespace "adsk::core" and the header file is <Core/Geometry/Cone.h>
Description
Gets and sets the taper half-angle of the cone in radians. A negative value indicates that the cone is narrowing in the direction of the axis vector, whereas a positive value indicates that it is expanding in the direction of the axis vector.
Syntax
"cone_var" is a variable referencing a Cone object.
# Get the value of the property. propertyValue = cone_var.halfAngle
# Set the value of the property. cone_var.halfAngle = propertyValue
|
"cone_var" is a variable referencing a Cone object.
#include <Core/Geometry/Cone.h>
// Get the value of the property. double propertyValue = cone_var->halfAngle();
// Set the value of the property, where value_var is a double. bool returnValue = cone_var->halfAngle(value_var);
|
Property Value
This is a read/write property whose value is a double.
Version
Introduced in version August 2014