Cylinder.set Method
Parent Object:
CylinderDefined in namespace "adsk::core" and the header file is <Core/Geometry/Cylinder.h>
Description
Sets the data that defines the cylinder.
Syntax
"cylinder_var" is a variable referencing a Cylinder object.returnValue = cylinder_var.set(origin, axis, radius)
|
"cylinder_var" is a variable referencing a Cylinder object.
#include <Core/Geometry/Cylinder.h>
returnValue = cylinder_var->set(origin, axis, radius);
|
Return Value
boolean |
Returns true if successful. |
Parameters
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. |
radius |
double |
The radius of the cylinder. |
Version
Introduced in version August 2014