EllipticalArc2D.set Method
Parent Object:
EllipticalArc2DDefined in namespace "adsk::core" and the header file is <Core/Geometry/EllipticalArc2D.h>
Description
Sets all of the data defining the elliptical arc.
Syntax
"ellipticalArc2D_var" is a variable referencing an EllipticalArc2D object.returnValue = ellipticalArc2D_var.set(center, majorAxis, majorRadius, minorRadius, startAngle, endAngle)
|
"ellipticalArc2D_var" is a variable referencing an EllipticalArc2D object.
#include <Core/Geometry/EllipticalArc2D.h>
returnValue = ellipticalArc2D_var->set(center, majorAxis, majorRadius, minorRadius, startAngle, endAngle);
|
Return Value
boolean |
Returns true if redefining the elliptical arc is successful |
Parameters
center |
Point2D |
A Point2D object that defines the center of the elliptical arc. |
majorAxis |
Vector2D |
The major axis of the elliptical arc. |
majorRadius |
double |
The major radius of the of the elliptical arc. |
minorRadius |
double |
The minor radius of the of the elliptical arc. |
startAngle |
double |
The start angle of the elliptical arc in radians, where 0 is along the major axis. |
endAngle |
double |
The end angle of the elliptical arc in radians, where 0 is along the major axis. |
Version
Introduced in version August 2014