Point2D.set 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 by specifying the x, y coordinates.

Syntax

"point2D_var" is a variable referencing a Point2D object.
returnValue = point2D_var.set(x, y)
"point2D_var" is a variable referencing a Point2D object.

#include <Core/Geometry/Point2D.h>

returnValue = point2D_var->set(x, y);

Return Value

Type Description
boolean Returns true if successful

Parameters

Name Type Description
x double The x coordinate of the point.
y double The y coordinate of the point.

Version

Introduced in version August 2014