Share

Vector2D.angleTo Method

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

Description

Gets the angle between this vector and another vector.

Syntax

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

Return Value

Type Description
double Returns the angle in radians.

Parameters

Name Type Description
vector Vector2D The vector to measure the angle to.

Version

Introduced in version August 2014

Was this information helpful?