EllipticalCone.halfAngle Property

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

Description

Gets and sets the taper half-angle of the elliptical cone. A negative value indicates that the cone is narrowing in the direction of the axis vector, whereas a positive values indicates that it is expanding in the direction of the axis vector.

Syntax

"ellipticalCone_var" is a variable referencing an EllipticalCone object.

# Get the value of the property.
propertyValue = ellipticalCone_var.halfAngle

# Set the value of the property.
ellipticalCone_var.halfAngle = propertyValue
"ellipticalCone_var" is a variable referencing an EllipticalCone object.
#include <Core/Geometry/EllipticalCone.h>

// Get the value of the property.
double propertyValue = ellipticalCone_var->halfAngle();

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

Property Value

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

Version

Introduced in version August 2014