EllipticalCone.getData Method

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

Description

Gets the data that defines the Elliptical Cone.

Syntax

"ellipticalCone_var" is a variable referencing an EllipticalCone object.

(returnValue, origin, axis, majorAxisDirection, majorRadius, minorRadius, halfAngle) = ellipticalCone_var.getData()

#include <Core/Geometry/EllipticalCone.h

// Declare the output arguments.
Ptr<Point3D> origin;
Ptr<Vector3D> axis;
Ptr<Vector3D> majorAxisDirection;
double majorRadius;
double minorRadius;
double halfAngle;
boolean returnValue = ellipticalCone_var->getData(origin, axis, majorAxisDirection, majorRadius, minorRadius, 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.
majorAxisDirection Vector3D The output direction of the major axis of the ellipse that defines the cone.
majorRadius double The output major radius of the ellipse that defines the cone.
minorRadius double The output minor radius of the ellipse that defines the cone.
halfAngle double The output taper half-angle of the cone.

Version

Introduced in version August 2014