EllipticalCylinder.create Method

Parent Object: EllipticalCylinder
Defined 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

Type Description
EllipticalCylinder Returns the new EllipticalCylinder object or null if the creation failed.

Parameters

Name Type Description
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