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