Cone.create Method
Parent Object:
ConeDefined 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
Cone |
Returns the new Cone object or null if the creation failed. |
Parameters
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