EllipticalCone.getAxes Method

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

Description

Gets the center axis of the cone that defines its normal direction and the major axis direction of the ellipse that defines it.

Syntax

"ellipticalCone_var" is a variable referencing an EllipticalCone object.

(axis, majorAxisDirection) = ellipticalCone_var.getAxes()

#include <Core/Geometry/EllipticalCone.h

// Declare the output arguments.
Ptr<Vector3D> axis;
Ptr<Vector3D> majorAxisDirection;
void returnValue = ellipticalCone_var->getAxes(axis, majorAxisDirection);

Parameters

Name Type Description
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.

Version

Introduced in version August 2014