EllipticalArc2D.create Method
Parent Object:
EllipticalArc2DDefined in namespace "adsk::core" and the header file is <Core/Geometry/EllipticalArc2D.h>
Description
Creates a transient 2D elliptical arc
Syntax
This is a static method.
returnValue = adsk.core.EllipticalArc2D.create(center, majorAxis, majorRadius, minorRadius, startAngle, endAngle)
|
This is a static method.
#include <Core/Geometry/EllipticalArc2D.h>
returnValue = adsk::core::EllipticalArc2D::create(center, majorAxis, majorRadius, minorRadius, startAngle, endAngle);
|
Return Value
EllipticalArc2D |
Returns the newly created elliptical arc or null if the creation failed. |
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