Line2D.copy Method

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

Description

Creates and returns a copy of this line object.

Syntax

"line2D_var" is a variable referencing a Line2D object.
returnValue = line2D_var.copy()
"line2D_var" is a variable referencing a Line2D object.

#include <Core/Geometry/Line2D.h>

returnValue = line2D_var->copy();

Return Value

Type Description
Line2D Returns an independent copy of this line object.

Version

Introduced in version August 2014