Share

Vector2D.add Method

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

Description

Add a vector to this vector.

Syntax

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

Return Value

Type Description
boolean Returns true if successful.

Parameters

Name Type Description
vector Vector2D The vector to add to this vector.

Version

Introduced in version August 2014

Was this information helpful?