Share

Vector2D.subtract Method

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

Description

Subtract a vector from this vector.

Syntax

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

Return Value

Type Description
boolean Returns true if successful.

Parameters

Name Type Description
vector Vector2D The vector to subtract from this vector.

Version

Introduced in version August 2014

Was this information helpful?