EllipticalArc2D.getData Method

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

Description

Gets all of the data defining the elliptical arc.

Syntax

"ellipticalArc2D_var" is a variable referencing an EllipticalArc2D object.

(returnValue, center, majorAxis, majorRadius, minorRadius, startAngle, endAngle) = ellipticalArc2D_var.getData()

#include <Core/Geometry/EllipticalArc2D.h

// Declare the output arguments.
Ptr<Point2D> center;
Ptr<Vector2D> majorAxis;
double majorRadius;
double minorRadius;
double startAngle;
double endAngle;
boolean returnValue = ellipticalArc2D_var->getData(center, majorAxis, majorRadius, minorRadius, startAngle, endAngle);

Return Value

Type Description
boolean Returns true if successful

Parameters

Name Type Description
center Point2D The output center point of the elliptical arc.
majorAxis Vector2D The output major axis of the elliptical arc.
majorRadius double The output major radius of the of the elliptical arc.
minorRadius double The output minor radius of the of the elliptical arc.
startAngle double The output start angle of the elliptical arc in radians, where 0 is along the major axis.
endAngle double The output end angle of the elliptical arc in radians, where 0 is along the major axis.

Version

Introduced in version August 2014