EllipticalCone.create Method

Parent Object: EllipticalCone
Defined in namespace "adsk::core" and the header file is <Core/Geometry/EllipticalCone.h>

Description

Creates a transient elliptical cone object.

Syntax

This is a static method.

returnValue = adsk.core.EllipticalCone.create(origin, axis, majorAxisDirection, majorRadius, minorRadius, halfAngle)
This is a static method.

#include <Core/Geometry/EllipticalCone.h>

returnValue = adsk::core::EllipticalCone::create(origin, axis, majorAxisDirection, majorRadius, minorRadius, halfAngle);

Return Value

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

Parameters

Name Type Description
origin Point3D The origin point (center) of the base of the cone.
axis Vector3D The center axis (along the length) of the cone that defines its normal direction.
majorAxisDirection Vector3D The direction of the major axis of the ellipse that defines the cone.
majorRadius double The major radius of the ellipse that defines the cone.
minorRadius double The minor radius of the ellipse that defines the cone.
halfAngle double The taper half-angle of the cone.

Version

Introduced in version August 2014