Vector2D.copy Method

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

Description

Creates and returns an independent copy of this Vector2D object.

Syntax

"vector2D_var" is a variable referencing a Vector2D object.
returnValue = vector2D_var.copy()
"vector2D_var" is a variable referencing a Vector2D object.

#include <Core/Geometry/Vector2D.h>

returnValue = vector2D_var->copy();

Return Value

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

Version

Introduced in version August 2014