Vector2D.asPoint Method

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

Description

Return a point with the same x and y values as this vector.

Syntax

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

#include <Core/Geometry/Vector2D.h>

returnValue = vector2D_var->asPoint();

Return Value

Type Description
Point2D Returns the new point.

Version

Introduced in version August 2014