Point2D.asVector Method

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

Description

Defines a vector using the coordinates of the point.

Syntax

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

#include <Core/Geometry/Point2D.h>

returnValue = point2D_var->asVector();

Return Value

Type Description
Vector2D Returns a Vector2D object

Version

Introduced in version August 2014