EllipticalCylinder.getData Method

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

Description

Gets the data defining the elliptical cylinder.

Syntax

"ellipticalCylinder_var" is a variable referencing an EllipticalCylinder object.

(returnValue, origin, axis, majorAxis, majorRadius, minorRadius) = ellipticalCylinder_var.getData()

#include <Core/Geometry/EllipticalCylinder.h

// Declare the output arguments.
Ptr<Point3D> origin;
Ptr<Vector3D> axis;
Ptr<Vector3D> majorAxis;
double majorRadius;
double minorRadius;
boolean returnValue = ellipticalCylinder_var->getData(origin, axis, majorAxis, majorRadius, minorRadius);

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 cylinder.
axis Vector3D The output center axis (along the length) of the cylinder that defines its normal direction.
majorAxis Vector3D The output direction of the major axis of the ellipse that defines the cylinder.
majorRadius double The output major radius of the ellipse that defines the cylinder.
minorRadius double The output minor radius of the ellipse that defines the cylinder.

Version

Introduced in version August 2014