Point2D.setWithArray Method

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

Description

Sets the coordinates of the point using an array as input.

Syntax

"point2D_var" is a variable referencing a Point2D object.
returnValue = point2D_var.setWithArray(coordinates)
"point2D_var" is a variable referencing a Point2D object.

#include <Core/Geometry/Point2D.h>

returnValue = point2D_var->setWithArray(coordinates);

Return Value

Type Description
boolean Returns true if successful

Parameters

Name Type Description
coordinates double[] An array that defines the coordinates of the point

Version

Introduced in version August 2014