Cone.set Method
Parent Object:
ConeDefined in namespace "adsk::core" and the header file is <Core/Geometry/Cone.h>
Description
Sets the data that defines the cone.
Syntax
"cone_var" is a variable referencing a Cone object.returnValue = cone_var.set(origin, axis, radius, halfAngle)
|
"cone_var" is a variable referencing a Cone object.
#include <Core/Geometry/Cone.h>
returnValue = cone_var->set(origin, axis, radius, halfAngle);
|
Return Value
boolean |
Returns true if successful. |
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