Cylinder.copy Method

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

Description

Creates and returns an independent copy of this Cylinder object.

Syntax

"cylinder_var" is a variable referencing a Cylinder object.
returnValue = cylinder_var.copy()
"cylinder_var" is a variable referencing a Cylinder object.

#include <Core/Geometry/Cylinder.h>

returnValue = cylinder_var->copy();

Return Value

Type Description
Cylinder Returns a new Cylinder object that is a copy of this Cylinder object.

Version

Introduced in version August 2014