Point2D.translateBy Method

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

Description

Translates the point using the provided vector.

Syntax

"point2D_var" is a variable referencing a Point2D object.
returnValue = point2D_var.translateBy(vector)
"point2D_var" is a variable referencing a Point2D object.

#include <Core/Geometry/Point2D.h>

returnValue = point2D_var->translateBy(vector);

Return Value

Type Description
boolean Returns true if successful

Parameters

Name Type Description
vector Vector2D The vector to use to translate the point

Version

Introduced in version August 2014