EllipticalCone.set Method

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

Description

Sets the data that defines the Elliptical Cone.

Syntax

"ellipticalCone_var" is a variable referencing an EllipticalCone object.
returnValue = ellipticalCone_var.set(origin, axis, majorAxisDirection, majorRadius, minorRadius, halfAngle)
"ellipticalCone_var" is a variable referencing an EllipticalCone object.

#include <Core/Geometry/EllipticalCone.h>

returnValue = ellipticalCone_var->set(origin, axis, majorAxisDirection, majorRadius, minorRadius, halfAngle);

Return Value

Type Description
boolean Returns true if successful.

Parameters

Name Type Description
origin Point3D The origin point (center) of the base of the cone.
axis Vector3D The center axis (along the length) of the cone that defines its normal direction.
majorAxisDirection Vector3D The direction of the major axis of the ellipse that defines the cone.
majorRadius double The major radius of the ellipse that defines the cone.
minorRadius double The minor radius of the ellipse that defines the cone.
halfAngle double The taper half-angle of the cone.

Version

Introduced in version August 2014