Vector2D.length Property

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

Description

Gets the length of the vector.

Syntax

"vector2D_var" is a variable referencing a Vector2D object.

# Get the value of the property.
propertyValue = vector2D_var.length
"vector2D_var" is a variable referencing a Vector2D object.
#include <Core/Geometry/Vector2D.h>

// Get the value of the property.
double propertyValue = vector2D_var->length();

Property Value

This is a read only property whose value is a double.

Version

Introduced in version August 2014