Ellipse2D.create Method
Parent Object:
Ellipse2DDefined in namespace "adsk::core" and the header file is <Core/Geometry/Ellipse2D.h>
Description
Creates a transient 2D ellipse by specifying a center position, major and minor axes, and major and minor radii.
Syntax
This is a static method.
returnValue = adsk.core.Ellipse2D.create(center, majorAxis, majorRadius, minorRadius)
|
This is a static method.
#include <Core/Geometry/Ellipse2D.h>
returnValue = adsk::core::Ellipse2D::create(center, majorAxis, majorRadius, minorRadius);
|
Return Value
Ellipse2D |
Returns the new Ellipse 2D object or null if the creation failed. |
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