Cone.getData Method

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

Description

Gets the data that defines the cone.

Syntax

"cone_var" is a variable referencing a Cone object.

(returnValue, origin, axis, radius, halfAngle) = cone_var.getData()

#include <Core/Geometry/Cone.h

// Declare the output arguments.
Ptr<Point3D> origin;
Ptr<Vector3D> axis;
double radius;
double halfAngle;
boolean returnValue = cone_var->getData(origin, axis, radius, halfAngle);

Return Value

Type Description
boolean Returns true if successful.

Parameters

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

Version

Introduced in version August 2014