EllipticalCylinder.create Method
Parent Object:
EllipticalCylinderDefined in namespace "adsk::core" and the header file is <Core/Geometry/EllipticalCylinder.h>
Description
Creates a transient 3D elliptical cylinder object.
Syntax
This is a static method.
returnValue = adsk.core.EllipticalCylinder.create(origin, axis, majorAxis, majorRadius, minorRadius)
|
This is a static method.
#include <Core/Geometry/EllipticalCylinder.h>
returnValue = adsk::core::EllipticalCylinder::create(origin, axis, majorAxis, majorRadius, minorRadius);
|
Return Value
EllipticalCylinder |
Returns the new EllipticalCylinder object or null if the creation failed. |
Parameters
origin |
Point3D |
The origin point (center) of the base of the cylinder. |
axis |
Vector3D |
The center axis (along the length) of the cylinder that defines its normal direction. |
majorAxis |
Vector3D |
The direction of the major axis of the ellipse that defines the cylinder. |
majorRadius |
double |
The major radius of the ellipse that defines the cylinder. |
minorRadius |
double |
The minor radius of the ellipse that defines the cylinder. |
Version
Introduced in version August 2014