Arc2D.getData Method
Parent Object:
Arc2DDefined in namespace "adsk::core" and the header file is <Core/Geometry/Arc2D.h>
Description
Gets all of the data defining the arc.
Syntax
"arc2D_var" is a variable referencing an Arc2D object.
(returnValue, center, radius, startAngle, endAngle, isClockwise) = arc2D_var.getData()
|
#include <Core/Geometry/Arc2D.h
// Declare the output arguments. Ptr<Point2D> center; double radius; double startAngle; double endAngle; boolean isClockwise; boolean returnValue = arc2D_var->getData(center, radius, startAngle, endAngle, isClockwise);
|
Return Value
boolean |
Returns true if successful |
Parameters
center |
Point2D |
The output center point of the arc. |
radius |
double |
The output radius of the arc. |
startAngle |
double |
The output start angle of the arc in radians, where 0 is along the x axis. |
endAngle |
double |
The output end angle of the arc in radians, where 0 is along the x axis. |
isClockwise |
boolean |
The output value that indicates if the sweep direction is clockwise or counterclockwise. |
Version
Introduced in version August 2014