Cylinder.set Method

Parent Object: Cylinder
Defined 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

Type Description
boolean Returns true if successful.

Parameters

Name Type Description
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