Cone.create Method

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

Description

Creates a transient cone object.

Syntax

This is a static method.

returnValue = adsk.core.Cone.create(origin, axis, radius, halfAngle)
This is a static method.

#include <Core/Geometry/Cone.h>

returnValue = adsk::core::Cone::create(origin, axis, radius, halfAngle);

Return Value

Type Description
Cone Returns the new Cone 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.
radius double The radius of the cone.
halfAngle double The taper half-angle of the cone.

Version

Introduced in version August 2014